> I have a dynamic array that is seeded with out about 1000 entries from > a data file. Is there any way to save (or pre-compile?) this initial > set so I don't suffer the overhead of populating it from a parser? It > would be fine if the result is static and I need to use another > dynamic array for additions.
One of the topics we discussed at length before the project was cancelled in 2002 was "persistent Judy arrays", meaning disk I/O. There wasn't any good quick answer. However, I believe that buried in the library is a batch-insertion set of functions... Maybe undocumented. If you can't find them, let me know and I'll look. In lieu of that, you can first/next and write out the data in any form you like, including some efficient binary form that takes minimal parsing, and J1S/JLI/JSLI it back in. Alan Silverstein ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Judy-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/judy-devel
