Skip to content

work on the ondemand iterators#2590

Merged
lemire merged 6 commits intomasterfrom
work_iterator
Jan 18, 2026
Merged

work on the ondemand iterators#2590
lemire merged 6 commits intomasterfrom
work_iterator

Conversation

@lemire
Copy link
Member

@lemire lemire commented Jan 17, 2026

We should be able to advance easily through the array iterators.

The object iterators should probably never be used directly, they are meant to be used in a for-loop in their current form (they are not general purpose).

I am also putting back the development checks on the debug builds. We accidentally disable them by switching the debug compilation flag to -Og which is fine, but it is no longer detected as a debug flag.

Fixes #2579

Copy link
Member

@jkeiser jkeiser left a comment

Choose a reason for hiding this comment

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

Been a bit, but this looks good. Love supporting more and more standards!

@jkeiser
Copy link
Member

jkeiser commented Jan 17, 2026

Then again, there are windows failures! So many platforms

@lemire
Copy link
Member Author

lemire commented Jan 17, 2026

@jkeiser I am adding more safety rails to the iterators. So that people cannot so easily misuse the iterators.

@lemire lemire merged commit feb1e7f into master Jan 18, 2026
156 checks passed
@lemire lemire deleted the work_iterator branch January 18, 2026 02:15
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.

missing tags in simdjson iterators stopping them from being used with C++ standard utility functions

2 participants