Do the single hash calculation before acquiring the lock, to reduce
lock contention. If Copy is true, and the string was not yet contained
in the StringStorage, use the new address from StringStorage, but
reuse the hash we already calculated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo