[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...
Name: D32832.97733.patch
Type: text/x-patch
Size: 7797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170503/fd4a1b74/attachment.bin>

More information about the lldb-commits mailing list