Is there a difference between the previous code (red) and the new one (green) ?
Actually, there is 35second difference 😠
The previous code was, on every loop, creating a new object, always deallocating and reallocating memory, while the second example creates one object (a cache) and save each item into it.
Eduard Krivánek
Post #2584
3.84K

- 👍 13
- 🔥 4
- ❤ 3