Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alloc counter benchmark for result erasing maps.
Motivation: Peter thinks that result-erasing maps should not allocate, and we have special code paths in the code to try to make Void -> Void maps not allocate. Sadly, both code paths currently do allocate. Per our rules for not trying to make optimizations without data, we should start measuing these closures so we can make optimizations. Modifications: - Added an alloc couter test for result-erasing maps. Result: Alloc counter test suitable for any fix of #1697.
- Loading branch information