diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-16 00:03:40 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-16 00:03:40 +0000 |
commit | 3fc5459977a9434c576a0e3d2686d42031bdb403 (patch) | |
tree | 13b86f61b48f7891e29bd6599209253dde29784b /process.c | |
parent | 5522e010e55a3bdeaed400ffca675e3a8e468257 (diff) | |
download | ruby-3fc5459977a9434c576a0e3d2686d42031bdb403.tar.gz |
load.c: use fstring for loaded features and expanded load path
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 since
repeated expansions may recycle before old expanded paths are GC-ed
away.
* load.c (rb_construct_expanded_load_path): fstring expanded path
(get_loaded_features_index): fstring feature path
(rb_provide_feature): ditto
[ruby-core:69871] [Feature #11331]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
0 files changed, 0 insertions, 0 deletions