in reply to Are beheaded strings known to be slow?
I suspect it's because OOK SVs aren't Copy-On-Write-able.
I did a quick profile, and with test2() the code spends most of it's time in memcpy() called from reg_set_capture_string().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Are beheaded strings known to be slow?
by ikegami (Patriarch) on Oct 10, 2025 at 15:22 UTC | |
|
Re^2: Are beheaded strings known to be slow?
by Anonymous Monk on Oct 10, 2025 at 17:58 UTC | |
|
Re^2: Are beheaded strings known to be slow?
by NERDVANA (Priest) on Oct 11, 2025 at 14:24 UTC | |
by ikegami (Patriarch) on Oct 11, 2025 at 14:49 UTC | |
by NERDVANA (Priest) on Oct 12, 2025 at 19:39 UTC |