fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Library improvements.

This commit is contained in:
2025-05-23 19:21:13 +01:00
parent 5da571351d
commit 5136a5869b
6 changed files with 1592 additions and 4 deletions
+1
View File
@@ -20,6 +20,7 @@ func (b *BaseClient) convertToJSON(v any) []byte {
}
buf := getBuffer(estimatedSize)
buf.Reset() // Ensure buffer is clean before use
defer putBuffer(buf)
// Use json.NewEncoder for better performance with buffers