... introduces very low overhead.$s = time; $out4 = (pack 'v*', unpack 'C*', $buf) | ("\x00$filler" x length $buf) +; print time() - $s, "\n";
In reply to Re^4: Interleaving bytes in a string quickly
by salva
in thread Interleaving bytes in a string quickly
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |