astrogo / fitsio

fitsio is a pure-Go package to read and write `FITS` files
BSD 3-Clause "New" or "Revised" License
54 stars 22 forks source link

fitsio: reflection heavy r/w code #21

Closed sbinet closed 5 years ago

sbinet commented 7 years ago

encoding/decoding tables relies heavily on reflect (by way of gonuts/binary).

drop the dependency on gonuts/binary and replace with fast-path handwritten code for all the []T types.

sbinet commented 5 years ago

this was done in df8c57f920b2c9b1b5071cdbbee6556363f25bab