Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Any.tail() use iterator's .count-only if available
Makes, for example, %h.keys.tail 2.1x faster for a hash with 500_000 keys.
- Loading branch information
1 parent
bde2820
commit 9c04dfc
Showing
1 changed file
with
11 additions
and
3 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