in reply to Re^10: Avoid Locking Entire Hashes
in thread Avoid Locking Entire Hashes
4. (Upd: 8 visible cores due to hyperthreading )
I don't understand the... surprise? To be clear, that's
vs# ikegami lock ${ $mutexes{$k} }; ++$hash{$k};
# browseruk lock ${ $hash{$k} }; ++${ $hash{$k} };
(with proper initialisation)
|
|---|