-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HitcountsIterableMapObserver, rename AsMutIter to AsIterMut #713
Conversation
I am against moving to iterators tbh... Current main build:
iter branch build:
it has nearly 1.6x the time spent for the postexec i.e. hitcountsobserver |
If the MultiMap has odd-sized maps, this will break/be unsafe |
Codecov Report
@@ Coverage Diff @@
## main #713 +/- ##
==========================================
- Coverage 15.02% 14.99% -0.04%
==========================================
Files 146 146
Lines 17336 17377 +41
==========================================
Hits 2605 2605
- Misses 14731 14772 +41
Continue to review full report at Codecov.
|
How about making another |
Ooh, or we could have one hitcount observer per sub-map |
…lusplus#713) * Move HitcountsMapObserver back to iterators to make it usable with cargo-libafl * clippy * optimize the good-case * safety info added * mut_iter -> iter_mut * split up map observer
This brings back iterators to HitcountsMapObserver.
I would be surprised if it were a lot slower, @tokatoka pleas check :)