Skip to main content

Module iterators

Module iterators 

Source

Structs§

ConFrameIterator
An iterator that lazily parses simulation frames from a .con or .convel file’s contents.
MemchrLines
memchr-backed line cursor for the full parse path (not only frame skip).

Functions§

count_frames
Count frames without building atom payloads (uses ConFrameIterator::forward_fast when possible, else ConFrameIterator::forward).
frame_start_offsets
Frame start byte offsets via ConFrameIterator::forward_fast (no atom parse). Stops at the first skip error (that start is still included).
frames_from_text
Collect every frame from text.
read_all_frames
read_all_frames_with_threads
Like read_all_frames, with an explicit worker count.
read_first_frame
Reads only the first frame from a file.
read_nth_frame
Skip index frames (no atom parse), then parse the next one.
read_nth_frame_from_text
Same as read_nth_frame on an already-loaded buffer.