[php-src] PR #11076: UTF-8 Validation optimization for NEON using mb_check_encoding
| From: | youkidearitai | Date: | Fri, 14 Apr 2023 17:57:54 +0000 |
| Subject: | [php-src] PR #11076: UTF-8 Validation optimization for NEON using mb_check_encoding | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22322@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11076
Author: youkidearitai
Add UTF-8 Validation optimization for NEON.
However, it is not seems speed acceleration on M1 macOS...
macOS compile set to configure in
CPPFLAGS='-g -O3 -Wall' then faster maybe
1.7x.
Ubuntu (GCC) compiler faster maybe 1.7x.
This Pull Request is almost copied Opensource another code.(MIT License)
- https://github.com/cyb70289/utf8
refer from below:
- https://arxiv.org/pdf/2010.03090.pdf
- https://qiita.com/saka1_p/items/9719d71e702aed92a07c
(Sorry, this site is Japanese)
Possibly, there may be an omission. I would be happy if you could find it.
I made it because I thought it would be good to discuss whether NEON should be included.
FYA @alexdowad @Girgias @pakutoma