diff options
author | Björn Gustavsson <[email protected]> | 2018-01-17 16:01:28 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-01-19 09:52:29 +0100 |
commit | c2a9915a451a3c6ad618f55a2871a43403333b7f (patch) | |
tree | e24292cd098b1216497252ae45d192a310bc9bd8 /lib/jinterface/java_src | |
parent | db58a0c04ca183de5e5436e0ae97e3f109a458fe (diff) | |
download | otp-c2a9915a451a3c6ad618f55a2871a43403333b7f.tar.gz otp-c2a9915a451a3c6ad618f55a2871a43403333b7f.tar.bz2 otp-c2a9915a451a3c6ad618f55a2871a43403333b7f.zip |
Optimize matching of an 'utf8' segment in the binary syntax
Matching out an 8-bit integer is faster than matching out
an utf8-encoded code point, even if the value of the code
point is less than 128. The reason is that matching out
an 8-bit integer is specially optimized to avoid a function
call. Do a similar optimization for matching out an utf8
segment.
Diffstat (limited to 'lib/jinterface/java_src')
0 files changed, 0 insertions, 0 deletions