Skip to content

Conversation

@merchantmoh-debug
Copy link
Owner

  • Implement sync.Pool for bytes.Buffer reuse in Stringify.
  • Replace fmt.Fprintf with zero-allocation strconv calls for primitives.
  • Fix float32/float64 formatting precision.
  • Add security warning to NewClient regarding default client timeouts.
  • Include benchmark test file strings_benchmark_test.go to verify performance and correctness.
  • Include table-driven test TestStringify_Primitives in strings_test.go to verify all primitive type code paths.

- Implement sync.Pool for bytes.Buffer reuse in Stringify.
- Replace fmt.Fprintf with zero-allocation strconv calls for primitives.
- Fix float32/float64 formatting precision.
- Add security warning to NewClient regarding default client timeouts.
- Include benchmark test file `strings_benchmark_test.go` to verify performance and correctness.
- Include table-driven test `TestStringify_Primitives` in `strings_test.go` to verify all primitive type code paths.
@merchantmoh-debug merchantmoh-debug merged commit 6412c34 into master Jan 13, 2026
@merchantmoh-debug merchantmoh-debug deleted the bolt-sentinel-client-improvement-10999790790030565127 branch January 13, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants