[erlang-patches] load native code for early modules
Tue Jul 13 13:45:45 CEST 2010
On Sun, Jul 11, 2010 at 08:00:39PM +0200, Paul Guyot wrote:
> The native chunks of modules loaded before the code server are never loaded, which makes it pretty pointless to natively compile them in the first place (with --enable-native-libs). A patch that loads them just after the code server is started can be found here:
> git fetch git://github.com/pguyot/otp.git pg/load-native-code-for-early-modules
Thank you, looks fine! It will be included in 'pu'.
> As a side effect, this patch will decrease the load time of dialyzer on installations configured with --enable-native-libs. Indeed, dialyzer natively recompiles modules including some that were loaded before the code server (such as lists, gb_trees, etc.).
> Semiocast http://semiocast.com/
> +33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-patches