Closed kdeberk closed 1 year ago
There were some race conditions in this function:
Added a test to spot both issues.
Also updated the benchmarks to use strconv.Atoi instead of string for converting from int to string, modern go doesn't support that conversion.
strconv.Atoi
LGTM. Thanks @kdeberk
There were some race conditions in this function:
Added a test to spot both issues.
Also updated the benchmarks to use
strconv.Atoi
instead of string for converting from int to string, modern go doesn't support that conversion.