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
Re-work hash iteration to use a HashIter.
This replaces the existing gather/take approach with maps over them,
which for .kv/.keys/.pairs is much more efficient as we never create a
load of Pair objects only to throw them away. Seems not to regress any
spectests on JVM or Parrot, and makes some TODO tests pass, most likely
because 'for %h.vk -> $k, $v is rw { ... }' is probably fixed.- Loading branch information
Showing
2 changed files
with
186 additions
and
45 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
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