Re: Update file
- Posted by Daniel Berstein <danielberstein at USA.NET> Sep 21, 1997
- 763 views
On 18 Sep 99 , Ralf Nieuwenhuijsen wrote: > the original structure. Later on i used the compression routines from > eh. Daniel Bernstein to make EDOM. (Routines that save & load a whole Actually, my name is Daniel Berstein ;) > All the tabs and spaces, and the fact that the string is represented b y > numbers and the fact that the structure is using up a byte for each > item, is not very smart for a 10000+ record database is it??? The way you can use PRINT() and GET() is quite useful for saving to disk complex data structures, as binary trees... that means that you can have an indexed database without a separate index file (like Xbase's .DBF and .I?X). The problem would be how to load the complete database into memory (without spending 'n' Mb of RAM). The solution would be to break your database into several "prints" ({},{}). Some time ago I said I was going to update my dbf routines... well I decided to spend my time in creating a better (more flexible) database format. I was thinking in create an Euphoria database system and just code a DBF to this new format transaltor... "please allow 2-3" (Robert Craig words) months to be ready, at this step it will be released at the same time Euphoria for win32 alpha is ;) Regards, Daniel Berstein danielberstein at usa.net http://www.geocities.com/SiliconValley/Heights/9316