X-Git-Url: http://git.annexia.org/?p=ocaml-ancient.git;a=blobdiff_plain;f=README.txt;h=1525c307beedfd072c6fb82e69c545d6e8c01f1b;hp=67bf422ea36746b3f1861ee0e4abfbfe797f618e;hb=2fcf5fb16af9a096fcedea637d4c5dd453f94db5;hpb=2f2d5af5cf03640650c8b49933c36665fdf52d61 diff --git a/README.txt b/README.txt index 67bf422..1525c30 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ 'Ancient' module for OCaml ---------------------------------------------------------------------- -$Id: README.txt,v 1.2 2006-10-09 12:18:05 rich Exp $ +$Id: README.txt,v 1.4 2006-10-13 14:13:06 rich Exp $ What does this module do? ---------------------------------------------------------------------- @@ -133,11 +133,7 @@ data to OCaml heap data. In theory it should be possible to modify ancient data to point to other ancient data, but we have not tried this. -(5) You can store more than just one compound object per backing file -by supplying a key to Ancient.share and Ancient.get. The keys are -integers in the range [0..1023]. The upper limit is hard coded into -the mmalloc library. This hard coded upper limit is a bug which -should be fixed. +(5) [Limit on number of keys -- issue fixed] (6) [Advanced topic] The _mark function in ancient_c.c makes no attempt to arrange the data structures in memory / on disk in a way @@ -192,6 +188,11 @@ which avoids loading unused fields at all. In some circumstances we have shown that this could make a huge difference to performance, but we are not sure how to implement this cleanly in the current library. +[Update: I have fixed issue 6 manually for my Weblogs example and +confirmed that it does make a huge difference to performance, although +at considerable extra code complexity. Interested people can see the +weblogs library, file import_weblogs_ancient.ml.in]. + (7) [Advanced topic] Certain techniques such as Address Space Randomisation (http://lwn.net/Articles/121845/) are probably not compatible with the Ancient module and shared files. Because the