astrogo / fitsio

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

fitsio: reflection heavy r/w code #21

Closed sbinet closed 4 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 4 years ago

this was done in df8c57f920b2c9b1b5071cdbbee6556363f25bab