in reply to Improving core performance with SIMD

There may be some things of help here, but given that perl strings may be utf8, not bytes, it isn't going to be easy.
  • Comment on Re: Improving core performance with SIMD

Replies are listed 'Best First'.
Re^2: Improving core performance with SIMD
by Fletch (Bishop) on Aug 13, 2025 at 17:03 UTC

    Were I to look for prior art I'd look at what ripgrep and the Rust regex engine do. I want to say its author had benchmarks showing that it was (one of)? the fast(est|er) UTF handling engines.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re^2: Improving core performance with SIMD
by cavac (Prior) on Aug 25, 2025 at 11:00 UTC

    Yup, and a lot of processing power is required to correctly handle Unicode... no matter the programming language. That was always the compromise with Unicode, and it's a good one overall. Human languages and writing systems are messy, based on weird and complicated rules that evolved over centuries. At least we are not having to deal with codepages/"extended ASCII" anymore.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
    Also check out my sisters artwork and my weekly webcomics