aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/vxworks/heart_config.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-18 11:00:07 +0100
committerBjörn Gustavsson <[email protected]>2011-11-26 07:32:11 +0100
commit4b51282bb73cfab7c5bddf10964851917fd70dc9 (patch)
tree7c9148eab6c1cded843c4f9fb280818ef9d224ab /erts/etc/vxworks/heart_config.c
parentebb280b7c02165cf819131cc0026d9b509560fa6 (diff)
downloadotp-4b51282bb73cfab7c5bddf10964851917fd70dc9.tar.gz
otp-4b51282bb73cfab7c5bddf10964851917fd70dc9.tar.bz2
otp-4b51282bb73cfab7c5bddf10964851917fd70dc9.zip
beam_load.c: Optimize code:get_chunk/2
The undocumented code:get_chunk/2 BIF is supposed to be a fast way to extract a chunk from a BEAM file when loading native code. In practice, it might not have been faster because it happened to calculate an MD5 checksum for the chunk it extracted because it shared the scan_iff_file() function with the erlang:load_module/2 BIF. Split scan_iff_file() into scan_iff_file() and verify_chunks(), so that the unnecessary MD5 calculation can be avoided.
Diffstat (limited to 'erts/etc/vxworks/heart_config.c')
0 files changed, 0 insertions, 0 deletions