mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Reduce number of allocations.
This commit is contained in:
@ -13,7 +13,7 @@ func ToLower(s string) string {
|
||||
}
|
||||
b[i] = c
|
||||
}
|
||||
return string(b)
|
||||
return BytesToString(b)
|
||||
}
|
||||
|
||||
func isLower(s string) bool {
|
||||
|
Reference in New Issue
Block a user