diff options
author | Björn Gustavsson <[email protected]> | 2015-12-16 14:50:56 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-12-16 15:52:26 +0100 |
commit | af9bfce55f0df03edaab638dcd3612c8478dfcc9 (patch) | |
tree | 9433741c63c6324b86faf7d9417f1a413d3d6aaf /erts/doc/src/tty.xml | |
parent | 471d2408de06f3c93507769ce0eb0a9f42c3d119 (diff) | |
download | otp-af9bfce55f0df03edaab638dcd3612c8478dfcc9.tar.gz otp-af9bfce55f0df03edaab638dcd3612c8478dfcc9.tar.bz2 otp-af9bfce55f0df03edaab638dcd3612c8478dfcc9.zip |
Remove erl_prim_loader:get_files/2
erl_prim_loader:get_files/2 was an optimization introduced before the
SMP emulator (that is, before R11). The idea was to use the async
threads in the efile driver to read multiple BEAM files from the disk
in parallel.
In a modern computer with the SMP emulator, loading a BEAM module
seems to be more time-consuming than reading it from disk. To optimize
loading we would need to load several modules in parallel. We could
modify get_files/2 so that it would support parallel loading, but it
is cleaner to first remove get_files/2 and then (in a future commit),
introduce new functions to support parallel loading.
Diffstat (limited to 'erts/doc/src/tty.xml')
0 files changed, 0 insertions, 0 deletions