Use sync.Map for type field cache
The type field cache was using an atomic pointer to an immutable map, which required copying the entire map each time a cache entry was added. Profiling showed that this was a significant hot spot. Use sync.Map instead. Change-Id: Ie7c779c5e9e2be1cd530747d74025dcfd206763a
Loading
Please register or sign in to comment