Forum: Ruby on Rails storing float arrays

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
polypus (Guest)
on 2006-05-11 22:41
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.

This topic is locked and can not be replied to.