[Lldb-commits] [PATCH] D32832: Make ConstString creation and access lockfree
Scott Smith via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 3 15:02:26 PDT 2017
scott.smith created this revision.
Utilize atomics to update linked lists without requiring locks. Reduces the number of calls to compute the hash by not having to compute it once to determine the bucket and then again inside a separate hashtable implementation. Use xxhash for better performance, especially with longer strings. Eliminates calls to hash when just updating the value by being able to use atomics instead of locks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7797 bytes
Desc: not available
More information about the lldb-commits