Sqlite3 Database versus populating Arrays
Posted
by Kenoy
on Stack Overflow
See other posts from Stack Overflow
or by Kenoy
Published on 2009-12-21T22:38:12Z
Indexed on
2010/04/18
13:03 UTC
Read the original article
Hit count: 269
hi,
I am working on a program that requires me to input values for 12 objects, each with 4 arrays, each with 100 values. (4800) values. The 4 arrays represent possible outcomes based on 2 boolean values... i.e. YY, YN, NN, NY and the 100 values to the array are what I want to extract based on another inputted variable.
I previously have all possible outcomes in a csv file, and have imported these into sqlite where I can query then for the value using sql. However, It has been suggested to me that sqlite database is not the way to go, and instead I should populate using arrays hardcoded.
Which would be better during run time and for memory management?
© Stack Overflow or respective owner