diff options
author | Björn Gustavsson <[email protected]> | 2015-04-26 07:12:26 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-04-29 12:25:06 +0200 |
commit | c64199f4fce6c47323014b29623f78d0b3aad24f (patch) | |
tree | 3d28cb822a3c105e4ced0c3c4ced9aea6b058ca4 /xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf | |
parent | 31779e0772006d822bb35b3f3fe0f0623d021aff (diff) | |
download | otp-c64199f4fce6c47323014b29623f78d0b3aad24f.tar.gz otp-c64199f4fce6c47323014b29623f78d0b3aad24f.tar.bz2 otp-c64199f4fce6c47323014b29623f78d0b3aad24f.zip |
beam_asm: Speed up encoding of large numbers
The misc_SUITE:integer_encoding/1 test case is annoyingly slow.
Rewrite the encoding of integers in beam_asm to use the
binary:encode_unsigned/1 BIF.
Also tweak the test case itself. Scale the down the maximum
size of the numbers being generated, but also add test of
numbers around boundaries of power of two (which are the numbers
most likely to expose bugs in the encoding).
Diffstat (limited to 'xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf')
0 files changed, 0 insertions, 0 deletions