in reply to Re: Saving an array to a disk file
in thread Saving an array to a disk file
Using the default settings, this takes just over 8 minutes for 1e7 elements, compared to just over 3 using sort. Berkeley is very fast once the data is in the DB, but getting it in takes time, which makes it not so useful for disposable applications like this.
Having been down this road before, I know there are myriad options that can be used to tune the insert performance, but most of them involve using extra memory to buffer the DB, but memory is the premium item here.
|
|---|