3 ms·
Yes, but how do you limit the size of those chunks? Perhaps only do one math operation? Calculating 2^4294967296 is one operation, but it can take minutes (ho
by gavinhoward 3y ago
Yes, but how do you limit the size of those chunks?
Perhaps only do one math operation?
Calculating 2^4294967296 is one operation, but it can take minutes (hours?) on my bc. Do you want it to take that long, not responding to SIGINT the entire time?
Probably not.
Smaller chunks? Then you have to check for signal in a loop, which causes its own problems.
I used to do that, and as I told boffinAudio, that caused problems with state being invalid and such.