Skip to content

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Aug 6, 2025

Copy link

github-actions bot commented Aug 6, 2025

Test Results

  7 files  ±0    7 suites  ±0   3m 13s ⏱️ -33s
 54 tests ±0   53 ✅ ±0  1 💤 ±0  0 ❌ ±0 
223 runs  ±0  220 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit b826422. ± Comparison against base commit bb835b4.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@muhamadazmy muhamadazmy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the changes looks good to me. I can't reason about if this change for the better or not. It completely depends on the expected number of items.

@AhmedSoliman
Copy link
Contributor Author

@muhamadazmy It's based on the read pattern, we have many places at which we create an iterator, read a single item and drop the iterator (get_first_blocking() IIRC). Such allocations are quite wasteful.

@AhmedSoliman AhmedSoliman merged commit b826422 into main Aug 6, 2025
53 checks passed
@AhmedSoliman AhmedSoliman deleted the pr3634 branch August 6, 2025 16:56
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants