mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
merge revision(s) 39644,39646,39647,39874,39898: [Backport #8048]
* load.c (features_index_add_single, rb_feature_p): store single index as Fixnum to reduce the number of arrays for the indexes. based on the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048]. * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn loaded_features_index into st_table. patches by tmm1 (Aman Gupta) in [ruby-core:53251] and [ruby-core:53274] [Bug #8048] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80ecaa1777
commit
c1ca05af16
5 changed files with 77 additions and 25 deletions
|
@ -364,7 +364,7 @@ typedef struct rb_vm_struct {
|
|||
VALUE expanded_load_path;
|
||||
VALUE loaded_features;
|
||||
VALUE loaded_features_snapshot;
|
||||
VALUE loaded_features_index;
|
||||
struct st_table *loaded_features_index;
|
||||
struct st_table *loading_table;
|
||||
|
||||
/* signal */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue