diff options
author | Philip Stears <[email protected]> | 2018-02-06 13:59:00 +0100 |
---|---|---|
committer | Philip Stears <[email protected]> | 2018-02-08 15:37:06 +0100 |
commit | ad29b4d489b5a3f1139d3307a67c544b93995e26 (patch) | |
tree | f612b3bd5f35738c1802961f50f6e9d5b0ae4621 /erts/emulator/beam/erl_alloc.c | |
parent | 3cb3d5c1927e6235b0e51ba7ca31e2a3458fba01 (diff) | |
download | otp-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