my $byte = u8( $mmap, 0x12346789abcd ); ++$byte if cond; u8( $mmap, 0x12346789abcd, $byte * 3 );
If you search PM, you'll find benchmarks between 4-arg and l-lvalue substr. I don't remember how much slower the latter is, but it's quite a bit slower.
In reply to Re^5: XS: SvPVLV examples?
by ikegami
in thread XS: SvPVLV examples?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |