2 ms·
First, I second the notion that switching to another tool is a good idea when performance becomes important. I was doing this by diving down into C years ago, a
by billjings 17y ago
First, I second the notion that switching to another tool is a good idea when performance becomes important. I was doing this by diving down into C years ago, and I have to imagine the toolset has only gotten better since then.
Second, you can make your generator method a coroutine and send it data as it iterates.