Closed xJonathanLEI closed 2 months ago
RPC caches rely on requests being identical to effectively cache responses. Sorting the storage keys avoids cache misses arising from the fact that we're taking HashMap keys. This sorting only happens on the host side - so no perf hit on client.
HashMap
RPC caches rely on requests being identical to effectively cache responses. Sorting the storage keys avoids cache misses arising from the fact that we're taking
HashMap
keys. This sorting only happens on the host side - so no perf hit on client.