Closed SichangHe closed 1 year ago
Implement Iterator for Scan so we simple use a for loop to iterate through the Events lazily.
Iterator
Scan
Event
We now only scan through raw_content once to produce the vector of Events instead of twice. Though, no significant performance difference.
raw_content
Implement
Iterator
forScan
so we simple use a for loop to iterate through theEvent
s lazily.We now only scan through
raw_content
once to produce the vector ofEvent
s instead of twice. Though, no significant performance difference.