Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReduce allocations in SelectorMap (Rule Hash) code #1274
Comments
|
Probably closedby #1299. I don't understand why you think "Do the Rule to Declaration conversion in a for loop instead of using map" is a good thing, though. |
|
@cmr Oh yeah, you're right. For some strange reason, I thought And like you said, I will change this on Monday. Thanks for the correction. |
insert_or_update_withwithfind_mut+insertbecause the default argument to the first function leads to an allocation every timemap