-
Notifications
You must be signed in to change notification settings - Fork 10
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
Created a persistently amortized version of Data.Vector.Map #2
base: master
Are you sure you want to change the base?
Conversation
…mortized version.
Take a look at the |
I took a look at the overmars branch. I don't see why it the bounds are I've been trying to observe the worst case behavior in both our As a side node, I noticed your version takes a huge hit (50-80x) in my On 11/29/2013 06:01 PM, Edward Kmett wrote:
|
i haven't fixed the performance of it yet, just set up the right recurrences. :) The deamortization follows the use of my deamortized ST post on FP complete. I have log n merges happening slowly one step at a time, but i never do more than log n steps of work for each insert. it is currently taking a -massive- speed hit because it needlessly uses the fusion machinery. It probably also make sense to switch to a leas rigid scheme that permits me to do the merges log n at a time on the same merge rather than do one step each glacially across log n merges.
|
Your talk at Mozilla inspired me to read Okasaki's Purely Function Data Structures, and then I decided to try to apply it to improve your COLA implementation under persistent usage.