* Oops...
@ 2005-12-02 5:45 Jonathan T Bryant
0 siblings, 0 replies; only message in thread
From: Jonathan T Bryant @ 2005-12-02 5:45 UTC (permalink / raw)
To: caml-list
Forgot to save before sending that. This copy keeps a free list for
indicies in the dataset so that values don't accidentally get
overwritten. It does still have a bug in the destroy function, though
(I forgot you can't compare functional values). Conveniently, this
could be fixed by recursively using the Dataset module to store the
observer functions and returning a number when one is registered and
using a number to unregister them. Also, point of interest, the
Dataset module could be functorized so that different implementations
could be used (i.e., persistent using hand rolled code or bindings to
DBD or a SQL database, or a Red Black Tree/an Array instead of a
Hashtable).
--Jonathan
-----------------------
--Jonathan Bryant
jtbryant@valdosta.edu
AIM: JonBoy3182
OAS AAS LLS
ZG214
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-02 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 5:45 Oops Jonathan T Bryant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).