Jim wrote: > I have an application that will maintain an in-memory database in the > form of a list of lists. Does anyone know of a way to search for and > retreive "records" from such a structure? >
Actually, the new NumPy can work as a very-good fast and efficient simple in-memory database (or memory-mapped data-base for that matter). The elements of a NumPy array can be arbitrary records. You would search using logical combinations of comparision. I think the ability for NumPy (which now handles arbitrary records) to be used as a data-base is under-appreciated. Mind you, it is SQL-less. NumPy only provides the "tables" it does not provide the fancy logic on-top of the tables. So, perhaps it would be better to say that NumPy could serve as the foundation for a simple data-base application. -Travis -- http://mail.python.org/mailman/listinfo/python-list