Opened 8 years ago
Closed 8 years ago
#8741 closed enhancement (fixed)
ruby-2.4.0
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 8.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New minor version.
Change History (3)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
NEWS for Ruby 2.4.0
Language changes
Core classes updates (outstanding ones only)
Stdlib updates (outstanding ones only)
binding.pry
at r56624.Compatibility issues (excluding feature bug fixes)
Stdlib compatibility issues (excluding feature bug fixes)
C API updates
Supported platform changes
Implementation improvements
[x, y].max
and[x, y].min
are optimized so that a temporal array is not created. The concrete condition is an implementation detail: currently, the array literal must have no splat, must have at least one expression but literal, the length must be <= 0x100, and Array#max and min must not be redefined. It will work in most casual and real-life use case where it is written with intent toMath.max(x, y)
.