зеркало из 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:`. |
||
---|---|---|
.. | ||
ChangeLog | ||
NEWS | ||
command_line | ||
contributing | ||
csv | ||
date | ||
examples | ||
images | ||
irb | ||
matchdata | ||
math | ||
net-http | ||
optparse | ||
pty | ||
rdoc | ||
regexp | ||
reline | ||
rjit | ||
ruby | ||
string | ||
strscan | ||
symbol | ||
syntax | ||
yjit | ||
.document | ||
_regexp.rdoc | ||
_timezones.rdoc | ||
bsearch.rdoc | ||
bug_triaging.rdoc | ||
case_mapping.rdoc | ||
character_selectors.rdoc | ||
command_injection.rdoc | ||
contributing.md | ||
dig_methods.rdoc | ||
distribution.md | ||
dtrace_probes.rdoc | ||
encodings.rdoc | ||
exceptions.md | ||
extension.ja.rdoc | ||
extension.rdoc | ||
fiber.md | ||
format_specifications.rdoc | ||
forwardable.rd.ja | ||
globals.rdoc | ||
implicit_conversion.rdoc | ||
keywords.rdoc | ||
maintainers.md | ||
marshal.rdoc | ||
memory_view.md | ||
packed_data.rdoc | ||
ractor.md | ||
security.rdoc | ||
signals.rdoc | ||
standard_library.rdoc | ||
strftime_formatting.rdoc | ||
syntax.rdoc | ||
windows.md | ||
yarvarch.en | ||
yarvarch.ja |