Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
4081-Default-code_path_choice-to-strict.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4081-Default-code_path_choice-to-strict.patch of Package erlang
From 8ecdf2cfea581d2ba26865e54745c93e672567c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co> Date: Mon, 16 Jan 2023 13:47:11 +0100 Subject: [PATCH] Default -code_path_choice to strict This option requires traversing the loadpaths several times and doing multiple filesystem lookups during boot. This shaves 4ms from boot time on my local machine but, in an application such as Livebook, it shaves +10ms when booting on a typical Linux box. --- erts/preloaded/src/init.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl index 9d28d214fa..2fb635b60a 100644 --- a/erts/preloaded/src/init.erl +++ b/erts/preloaded/src/init.erl @@ -292,7 +292,7 @@ code_path_choice() -> {ok,[["relaxed"]]} -> relaxed; _Else -> - relaxed + strict end. boot(Start,Flags,Args) -> -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor