aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorPhilip Stears <[email protected]>2018-02-06 13:59:00 +0100
committerPhilip Stears <[email protected]>2018-02-08 15:37:06 +0100
commitad29b4d489b5a3f1139d3307a67c544b93995e26 (patch)
treef612b3bd5f35738c1802961f50f6e9d5b0ae4621 /erts/emulator/beam/erl_alloc.c
parent3cb3d5c1927e6235b0e51ba7ca31e2a3458fba01 (diff)
downloadotp-ad29b4d489b5a3f1139d3307a67c544b93995e26.tar.gz
otp-ad29b4d489b5a3f1139d3307a67c544b93995e26.tar.bz2
otp-ad29b4d489b5a3f1139d3307a67c544b93995e26.zip
Optimize non-strict equality check of binaries differing in size
This commit brings the perform of a non-strict equality check of binaries into the same range as strict ones. Currently, these checks can be significantly slower because they go through the general comparison code which doesn't have an optimization to check the size before comparing contents in the case that it's checking equality.
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
0 files changed, 0 insertions, 0 deletions