зеркало из https://github.com/github/ruby.git
83f57ca3d2
[Bug #20585] This was changed in 36a06efdd9f0604093dccbaf96d4e2cb17874dc8 because `String.new(1024)` would end up allocating `1025` bytes, but the problem with this change is that the caller may be trying to right size a String. So instead, we should just better document the behavior of `capacity:`. |
||
---|---|---|
.. | ||
arith_seq | ||
array | ||
bignum | ||
bug_reporter | ||
class | ||
debug | ||
econv | ||
eval | ||
exception | ||
file | ||
float | ||
funcall | ||
gvl | ||
hash | ||
integer | ||
iseq_load | ||
iter | ||
load | ||
marshal | ||
method | ||
num2int | ||
path_to_class | ||
popen_deadlock | ||
postponed_job | ||
proc | ||
rational | ||
st | ||
string | ||
struct | ||
symbol | ||
thread | ||
thread_fd | ||
time | ||
tracepoint | ||
typeddata | ||
vm | ||
wait | ||
win32 | ||
test_abi.rb | ||
test_bug-3571.rb | ||
test_bug-5832.rb | ||
test_bug-14834.rb | ||
test_enumerator_kw.rb | ||
test_notimplement.rb | ||
test_printf.rb | ||
test_random.rb | ||
test_recursion.rb | ||
test_scan_args.rb |