VictoriaMetrics/lib/bytesutil
Aliaksandr Valialkin a522bbc8b4
lib/bytesutil/internstring.go: increase the limit on the maximum string lengths, which can be interned
The limit has been increased from 300 bytes to 500 bytes according to the collected production stats.
This allows reducing CPU usage without significant increase of RAM usage in most practical cases.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3692
2023-01-31 11:04:09 -08:00
..
bytebuffer_test.go
bytebuffer.go
bytesutil_test.go
bytesutil.go
fast_string_matcher_test.go lib/bytesutil: make sure that the cleanup code is performed only by a single goroutine out of many concurrently running goroutines 2022-12-21 12:58:27 -08:00
fast_string_matcher_timing_test.go
fast_string_matcher.go lib/bytesutil: make sure that the cleanup code is performed only by a single goroutine out of many concurrently running goroutines 2022-12-21 12:58:27 -08:00
fast_string_transformer_test.go
fast_string_transformer_timing_test.go
fast_string_transformer.go lib/bytesutil: make sure that the cleanup code is performed only by a single goroutine out of many concurrently running goroutines 2022-12-21 12:58:27 -08:00
internstring_test.go
internstring_timing_test.go
internstring.go lib/bytesutil/internstring.go: increase the limit on the maximum string lengths, which can be interned 2023-01-31 11:04:09 -08:00
itoa_test.go
itoa.go lib/bytesutil: add InternBytes() function as a shortcut to InternString(ToUnsafeString(..)) 2023-01-03 22:15:49 -08:00