Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve take[-rw], proceed, succeed.
By making them multis, the common cases can avoid a Parcel allocation along with the underlying list construction, as well as a call. This takes around 5% off a "read a million lines" benchmark, and probably is more significant in things that hot-path on gather. The succeed improvement should help all given/when usages.
- Loading branch information
Showing
1 changed file
with
37 additions
and
15 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