aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/vsn.mk
diff options
context:
space:
mode:
authorMichał Muskała <[email protected]>2018-03-07 10:56:23 +0100
committerMichał Muskała <[email protected]>2018-03-07 11:34:25 +0100
commit3e0cecc541fc9cd85b4c5878e58a7ec4a3142368 (patch)
tree5df7afc7a1a10f670d81a2f30a344f4d5190e809 /lib/observer/vsn.mk
parent64dc3c39cbd19d6b75e5b74cfdfdd57419d4c455 (diff)
downloadotp-3e0cecc541fc9cd85b4c5878e58a7ec4a3142368.tar.gz
otp-3e0cecc541fc9cd85b4c5878e58a7ec4a3142368.tar.bz2
otp-3e0cecc541fc9cd85b4c5878e58a7ec4a3142368.zip
Short-circuit code:ensure_loaded for already-loaded modules
This checks if the module is already loaded using erlang:module_loaded before calling the code server. This should improve performance of the call significantly since the case where module is already loaded is the common one. The change shouldn't cause any problems. It's worth noting that code:ensure_modules_loaded already does a similar check.
Diffstat (limited to 'lib/observer/vsn.mk')
0 files changed, 0 insertions, 0 deletions