Menu

#15 CuckooStripedSet - huge memory consumption

1.6.0
accepted
khizmax
None
7
2013-12-12
2013-12-12
khizmax
No

Huge memory consumption is observed when many threads (more than 4) perform insertion. In such case several threads can make rehashing i.e. make deep copy.
Possible solution: introduce a new flag "rehashing in progress". Only one thread can set this flag, any others must spin on it if it is set.

Discussion


Log in to post a comment.