Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Performance of hash and array inserts

by LanX (Saint)
on Oct 15, 2021 at 19:45 UTC ( #11137600=note: print w/replies, xml ) Need Help??

in reply to Performance of hash and array inserts

If you are interested in the implementation, we had a discussion here not long ago with pointers into the relevant doc.

Re: can I change hash keys or values directly

HTH! :)


In short, rehashing is expensive but only happens in doubling steps, which makes the costs constant in average.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: Performance of hash and array inserts

Replies are listed 'Best First'.
Re^2: Performance of hash and array inserts
by bliako (Monsignor) on Oct 18, 2021 at 16:39 UTC

    thanks for the link ot an interesting exchange which I somehow missed.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137600]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-12-10 01:17 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.