Storing float arrays


#1

hi all,

what is the most efficient way of storing and retrieving arrays of
floating point numbers in a rails app where:

i don’t ever need to search through the arrays using sql queries. i.e.
their content does not matter at all. i just need to be able to get an
index from the database for each array when i need it, so they could
conceivably be stored outside the database.

the arrays will range from 100ish-500ish floats in size, i.e. they are
not all the same size.

any suggestions much appreciated.

_c