1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
Peter Zhu e199ae3edc Remove reference counting for all frozen arrays
The RARRAY_LITERAL_FLAG was added in commit
5871ecf956 to improve CoW performance for
array literals by not keeping track of reference counts.

This commit reverts that commit and has an alternate implementation that
is more generic for all frozen arrays. Since frozen arrays cannot be
modified, we don't need to set the RARRAY_SHARED_ROOT_FLAG and we don't
need to do reference counting.
2022-07-22 13:29:21 -04:00
..
array.h Remove reference counting for all frozen arrays 2022-07-22 13:29:21 -04:00
bignum.h
bits.h
class.h Add Module#undefined_instance_methods 2022-06-06 09:57:32 -07:00
cmdlineopt.h Rust YJIT 2022-04-27 11:00:22 -04:00
compar.h
compile.h
compilers.h
complex.h
cont.h Prevent the stack from being marked twice 2022-07-20 13:45:55 -07:00
dir.h
enc.h
encoding.h
enum.h
enumerator.h
error.h
eval.h
file.h
fixnum.h Fix rb_fix_mul_fix on OpenBSD/mips64 2022-07-03 09:42:44 -07:00
gc.h Increase SIZE_POOL_COUNT to 5 2022-05-09 08:45:24 -04:00
hash.h
imemo.h Remove duplicated prototype in header file 2022-06-07 14:15:59 -04:00
inits.h
io.h
load.h
loadpath.h
math.h
missing.h
numeric.h
object.h Allow to just warn as bool expected, without an exception 2022-06-20 19:35:12 +09:00
parse.h
proc.h
process.h
ractor.h internal/ractor.h: Added 2022-03-30 16:50:46 +09:00
random.h
range.h
rational.h
re.h
sanitizers.h
serial.h
signal.h
static_assert.h
string.h Move String RVALUES between pools 2022-06-13 10:11:27 -07:00
struct.h
symbol.h Ensure _id2ref finds symbols with the correct type 2022-07-20 10:38:44 -07:00
thread.h Restore rb_exec_recursive_outer 2022-06-15 16:07:29 -07:00
time.h
transcode.h
util.h
variable.h
vm.h Finer-grained constant cache invalidation (take 2) 2022-04-01 14:48:22 -04:00
warnings.h