This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
threads is no longer customized, as of commit c0ff91434b
[perl5.git] / ext / SDBM_File / CHANGES
CommitLineData
463ee0b2
LW
1Changes from the earlier BETA releases.
2
3o dbm_prep does everything now, so dbm_open is just a simple
4 wrapper that builds the default filenames. dbm_prep no longer
5 requires a (DBM *) db parameter: it allocates one itself. It
6 returns (DBM *) db or (DBM *) NULL.
7
8o makroom is now reliable. In the common-case optimization of the page
9 split, the page into which the incoming key/value pair is to be inserted
10 is write-deferred (if the split is successful), thereby saving a cosly
11 write. BUT, if the split does not make enough room (unsuccessful), the
12 deferred page is written out, as the failure-window is now dependent on
13 the number of split attempts.
14
15o if -DDUFF is defined, hash function will also use the DUFF construct.
16 This may look like a micro-performance tweak (maybe it is), but in fact,
17 the hash function is the third most-heavily used function, after read
18 and write.