Closed MAngel666 closed 4 months ago
This is expected behavior as that how an iterator works. It'll present the data an item at a time until none are left.
The library handles the information this way to get around a lot of large memory issues that would otherwise occur from handling large datasets. If you intend on using the same data multiple times I would suggest you either rethink the logic to only need to work on an item once, or store the data elsewhere to later retrieval.
After "using" of an object it seems to be empty. I see the data only 1x.
Code:
Expected behavior I see the same data 2x, because of 2x the same for loop.
System Information (please complete the following information):