Skip to content

fix: Use clear for mixed batch writer #1645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2024
Merged

fix: Use clear for mixed batch writer #1645

merged 2 commits into from
Apr 22, 2024

Conversation

candiduslynx
Copy link
Contributor

Fixes the issue with cap used on nil slice introduced in #1553

Copy link

github-actions bot commented Apr 22, 2024

⏱️ Benchmark results

  • Glob-8 ns/op: 92.61

@candiduslynx
Copy link
Contributor Author

alt approach: to add size member to the batcher managers & compare this.
@erezrokah @disq I actually don't have preference on this

@candiduslynx candiduslynx requested a review from erezrokah April 22, 2024 12:44
@kodiakhq kodiakhq bot merged commit 07945ac into main Apr 22, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the fix/mixedbw-batch branch April 22, 2024 12:54
kodiakhq bot pushed a commit that referenced this pull request Apr 22, 2024
🤖 I have created a release *beep* *boop*
---


## [4.39.1](v4.39.0...v4.39.1) (2024-04-22)


### Bug Fixes

* Fix link to billing page ([#1643](#1643)) ([ca216b6](ca216b6))
* Use `clear` for mixed batch writer ([#1645](#1645)) ([07945ac](07945ac))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants