-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DMS-68] Remove tuple from Map definition #15
[DMS-68] Remove tuple from Map definition #15
Conversation
Actually, what the hell happened with foldRight on size 1000000? |
benchmarks are deterministic? |
Why the first table doesn't have comparision with baseline ? |
Yes
If I change the order, values change accordingly:
So, I think this may be GC? But before this patch folds didn't trigger GC. |
It almost the same as rbtree, so I didn't include it first. Adding it now, because it still worth to have a full picture in one place. |
Okay, I think the conclusion from these results is that all general operations like The new functionality is a bit faster. So a couple of percentages here against a couple of percentages of general operations. I would prefer to keep a tuple version (original). |
1488ef2
to
3b1471e
Compare
@GoPavel the max memory requirements do seem to go down quite a bit for larger tests (is that like 20%?). Maybe that's worth it? I wonder if it would be good for the benchmarks tor report allocated_bytes (rather than max-memory). Maybe that would be a better measure of how much allocation is happening. |
Yeah, I think I missed it. 20% (even 25% I see) sounds significant. |
On the other hand, probably |
Merged into #34 |
In comparison with #14
Map comparison
Maximum live heap size
Persistent map API