Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Give Hash.pairs/kv/keys/values/antipairs pull-all
my @ = %h.pairs 30% faster my @ = %h.keys 30% faster my @ = %h.values 30% faster my @ = %h.kv 2x as fast my @ = %h.antipairs 3x as fast Also now uses a role to factor out the common stuff. This role also contains a count-only method, which is the same for all of these methods.
- Loading branch information
Showing
1 changed file
with
66 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters