[php-src] PR #12845: Optimize mb_strcut for fixed-byte-length text encodings

From: Date: Fri, 01 Dec 2023 05:08:52 +0000
Subject: [php-src] PR #12845: Optimize mb_strcut for fixed-byte-length text encodings
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24380@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12845 Author: alexdowad On microbenchmarks run on my dev machine, mb_strcut is now ~50% faster for fixed-byte-length text encodings like ASCII. (This is because the previous code did an extra, unnecessary copy operation on the resulting output string.) @Girgias @nielsdos @youkidearitai @cmb69

« previous php.git-pulls (#24380) next »