8 ms·
The 1..125 loop stores 8000 bytes of string and they need to clear 8000 bytes. There may be a fast path for adding one character, but in any case bytes of prog
by bsdetector 2y ago
The 1..125 loop stores 8000 bytes of string and they need to clear 8000 bytes.
There may be a fast path for adding one character, but in any case bytes of program are a valuable resource with only 64k ram so having a second loop from nearest power of two to 8000 would be a waste of bytes.