The physical reason is the same as the one that I described in Re: BerkeleyDB and a very large file. Seeks to disk are slow. When you're writing random records in DBM::Deep, you're forced to do a lot of seeks. But sorting can be done streaming data to and from disk. And disks are much better at that than at random access.
In reply to Re: Optimizing DBM::Deep file parameters
by tilly
in thread Optimizing DBM::Deep file parameters
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |