From 6546aed4757be07f4932326e1eb41a5d69141acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lourens=20Naud=C3=A9?= Date: Sat, 13 Apr 2019 17:05:58 +0100 Subject: Explicitly initialise encodings on init to remove branches on encoding lookup [Misc #15806] Closes: https://github.com/ruby/ruby/pull/2128 --- inits.c | 1 + 1 file changed, 1 insertion(+) (limited to 'inits.c') diff --git a/inits.c b/inits.c index ad34223e36..75ee976192 100644 --- a/inits.c +++ b/inits.c @@ -22,6 +22,7 @@ rb_call_inits(void) CALL(vm_postponed_job); CALL(Method); CALL(RandomSeedCore); + CALL(encodings); CALL(sym); CALL(var_tables); CALL(Object); -- cgit v1.2.1