I don't know if this is easy enough to do, but I use string and numeric bundles a lot and it seems to take a lot of time to save and load them to files. I find bundles very handy for storing persistent settings and lookup tuples but when they get too large the time to save and load them from a file increases quite a bit. In many cases, I can use SQLITE but bundle operations are much simpler (and faster?)
It might be nice to have a BUNDLE.SAVE f$,b and BUNDLE.LOAD f$,&b commands.
Otherwise maybe even just a very efficient bundle to string dump/parse might work well.
I am mainly concerned about using pure string and pure numeric bundles, though it would be great if it could handle bundles of lists and bundles of bundles also.
Post subject: Re: fast read/write bundles to files
Posted: Mon Sep 26, 2016 6:09 am
Joined: Wed Jul 10, 2013 8:11 am Posts: 278
@cterp thank you very much for testing! I will investigate auto creation. It seems that bundle.clear b fails. I hope I can fix it soon, because I have a small handicap. My Barracuda HD quits the service, so I have to rebuild my system. Stay tuned!
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum