Opened 11 years ago

Closed 11 years ago

#335 closed defect (invalid)

Iterating through lock-free hash tables shouldn't cons

Reported by: gz Owned by: gz
Priority: major Milestone:
Component: Performance Version:
Keywords: Cc:

Description

There is no reason for the hash table iterator to copy keys and values for lock-free hash tables. (The only reason it does now is that it's a bit hard to change the protocol so that it can stack-cons the key vector for some tables and not others).

Change History (1)

comment:1 Changed 11 years ago by gz

  • Resolution set to invalid
  • Status changed from new to closed

No, that's not the only reason. I keep forgetting that the old vector gets clobbered by rehashing.

Note: See TracTickets for help on using tickets.