Skip to content

Conversation

@merchantmoh-debug
Copy link
Owner

  • Implement a buffer pool for Stringify to reduce memory allocations.
  • Replace fmt.Fprintf with strconv for primitive types (Bool, Int, Uint, Float) to avoid reflection overhead.
  • Ensure correct bitSize for float32 and float64 to prevent precision artifacts.
  • Adds a documentation warning to NewClient about the lack of timeout when using the default HTTP client.

- Implement a buffer pool for `Stringify` to reduce memory allocations.
- Replace `fmt.Fprintf` with `strconv` for primitive types (Bool, Int, Uint, Float) to avoid reflection overhead.
- Ensure correct `bitSize` for `float32` and `float64` to prevent precision artifacts.
- Adds a documentation warning to `NewClient` about the lack of timeout when using the default HTTP client.
@merchantmoh-debug merchantmoh-debug merged commit 73595b0 into master Jan 13, 2026
@merchantmoh-debug merchantmoh-debug deleted the bolt-sentinel-client-improvement-10999790790030565127 branch January 13, 2026 01:05
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