[plt-scheme] cross platform data persistence

From: Neil W. Van Dyke (neil at neilvandyke.org)
Date: Tue May 20 18:43:00 EDT 2003

Rohan Nicholls <rohan.nicholls at informaat.nl> writes at 23:15 20-May-2003 +0200:
> I am implementing a herbal database in scheme for a friend who is a 
> naturopathic doctor, not very complex and probably no more than 10 000 
> entries.

Those records look like they're probably not much over 1 KB each.  So if
you can afford 10 MB of main memory for the database alone, you could
just read the entire database as Scheme data in memory, then just write
the complete database to a single file (sexps or XML) every time you
change it.

Or, if that won't work or is too offensive, and you'd rather not use
SrPersist for this small database, you might take a look at the portable
relational database in SLIB.


Posted on the users mailing list.