Changes for version 0.006 - 2015-05-03
- Changed
- The 'values' method in scalar context now returns an optimized count of elements.
- Documentation
- Amended various parts of the documentation.
- Fixed formatting of benchmark results and a SEE ALSO list.
Changes for version 0.005 - 2015-05-01 (TRIAL RELEASE)
- Added
- Added 'preinc', 'postinc', 'predec', 'postdec', 'add', 'subtract', 'concat', 'or_equals' and 'dor_equals' functions for efficient in-place modification of hash elements.
- Changed
- The 'keys' method in scalar context now returns an optimized count of keys.
- Fixed
- Keys in the internal ordered list of keys are now stringified so they are in exactly the same form as they would be in a Perl hash. This slows construction slightly, but is necessary for correctness.
- Added explicit stringification and numification overloads to mimic an unoverloaded object rather than falling back on the result of boolification.
- Optimized
- Added indexed tombstone deletion for hashes over 25 elements; this makes deletion faster than all other pure-Perl ordered hash implementations that I benchmarked.
- Numerous functions micro-optimized, including get and set.
Documentation
Ordered hash benchmarking
Modules
A fast, pure-Perl ordered hash class