palkeo

Results 13 comments of palkeo

I can confirm I was able to go past the problematic block after applying this patch.

And here is the output of the script on my machine: ``` Time it takes to copy using pqdict.copy(): 2.7107771890005097 Time it takes to copy by copying _heap and _position:...

Hmm I see my proposal is wrong, as the copy has Node objects pointing back to the original object, so adding/deleting elements would work, but updating them still changes the...

After my PR, here is the output of the script: ``` Time it takes to copy using pqdict.copy(): 0.3347427129992866 Time it takes to copy by copying _heap and _position: 0.02496067000174662...

And I sent another PR, reducing copy time to what I think was originally possible, by making the internal nodes immutable, which I think is pretty neat.

Thanks for looking into it! Here is a test script, for your question above: ``` import pqdict import random import timeit import copy random.seed(1298472) def get_dict(): a = pqdict.pqdict() for...

I'm working on it. I have a parameter to tell if we should support unconstrained storage or not. However I'm not sure where to put it: I can put it...

Hey. I'm also interested by that. But do you think that pub-sub would be able to solve all the problem by itself ? If I pin an IPNS name, turn...