Actions
Feature #11331
closed[PATCH] load.c: use fstring for loaded features and expanded load path
Status:
Closed
Assignee:
-
Target version:
-
Description
Loaded features is an obvious candidate for fstring since
feature paths of Ruby sources are included in iseq locations,
and iseq locations are in the fstring table anyways.
Deduplicating expanded load path can reuse old objects, since
repeated expansions may get reused before old expanded paths are GC-ed
away.
Only lightly-verified since I don't have a lot of code, but seems obvious
enough. Folks with bigger codebases are encouraged to double-check results.
Files
Actions
Like0
Like0