diff options
author | Paul Guyot <[email protected]> | 2010-07-04 15:08:47 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-07-29 09:11:52 +0200 |
commit | 173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5 (patch) | |
tree | 830f6e894ef2aba363ee7147ac2fd6a55d8eebac /lib/compiler/src/beam_trim.erl | |
parent | 6ec6250f8ad4fd13318d13e566602dccc9f6746f (diff) | |
download | otp-173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5.tar.gz otp-173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5.tar.bz2 otp-173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5.zip |
beam_asm: Simplify string table generation for beams
The code for generating the string table (which is now
only used for bit syntax matching) in a BEAM file is quite
complicated and potentially expensive when compiling modules
with many thousands of clauses doing bit syntax matching.
Simplify and optimize the code using bit syntax and
binary:match/2 instead of the list operations in the
original code.
Diffstat (limited to 'lib/compiler/src/beam_trim.erl')
0 files changed, 0 insertions, 0 deletions