We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd131a1 + 28ab142 commit 3b76b70Copy full SHA for 3b76b70
1 file changed
core/state/database.go
@@ -32,10 +32,10 @@ import (
32
33
const (
34
// Number of codehash->size associations to keep.
35
- codeSizeCacheSize = 100000
+ codeSizeCacheSize = 1_000_000 // 4 megabytes in total
36
37
// Cache size granted for caching clean code.
38
- codeCacheSize = 64 * 1024 * 1024
+ codeCacheSize = 256 * 1024 * 1024
39
)
40
41
// Database wraps access to tries and contract code.
0 commit comments