Skip to content

perf: replace offset helper functions with OffsetsIterator type#36

Merged
Beforerr merged 1 commit intomainfrom
push-ynsrqvlmvkvl
Feb 3, 2026
Merged

perf: replace offset helper functions with OffsetsIterator type#36
Beforerr merged 1 commit intomainfrom
push-ynsrqvlmvkvl

Conversation

@Beforerr
Copy link
Member

@Beforerr Beforerr commented Feb 3, 2026

  • Introduced OffsetsIterator struct to encapsulate offset traversal logic
  • Replaced get_offsets, get_offsets!, and get_offsets_lazy with iterator-based approach
  • Changed cdf_magic_bytes from Vector to Tuple for immutability
  • Optimized attribute name comparison using codeunits instead of String conversion

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

- Introduced OffsetsIterator struct to encapsulate offset traversal logic
- Replaced get_offsets, get_offsets!, and get_offsets_lazy with iterator-based approach
- Changed cdf_magic_bytes from Vector to Tuple for immutability
- Optimized attribute name comparison using codeunits instead of String conversion
@Beforerr Beforerr merged commit af252e4 into main Feb 3, 2026
4 of 6 checks passed
@Beforerr Beforerr deleted the push-ynsrqvlmvkvl branch February 3, 2026 20:33
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.

1 participant