diff options
author | Björn Gustavsson <[email protected]> | 2017-02-24 16:01:32 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-02-27 12:13:40 +0100 |
commit | bee8f839296e0424ddaf3a235ca285c2525cd28e (patch) | |
tree | 86b178213ebd1cc52fd5673b251285a009d7f37d /erts/doc/src/notes.xml | |
parent | 39b43dd10605f60d580ba9a73136713a776c635d (diff) | |
download | otp-bee8f839296e0424ddaf3a235ca285c2525cd28e.tar.gz otp-bee8f839296e0424ddaf3a235ca285c2525cd28e.tar.bz2 otp-bee8f839296e0424ddaf3a235ca285c2525cd28e.zip |
v3_core: Combine binary strings to larger integers
Binary construction that mixes long literal strings with variables
will make Dialyzer slow. Example:
<<"long string (thousand of characters)",T/binary>>
The string literals in binary construction is translated to one binary
segment per character; all those segments will slow down Dialyzer.
We can speed up Dialyzer if we combine several characters (up to 256)
to a signle segment in the binary. It will also slightly speed up the
compiler.
This optimization will make core listings file with binary strings
harder to read, but they were not that easy to read before this
change.
ERL-308
Diffstat (limited to 'erts/doc/src/notes.xml')
0 files changed, 0 insertions, 0 deletions