aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-06-17 11:33:44 -0700
committerJeremy Evans <code@jeremyevans.net>2019-07-02 08:07:06 -0700
commitced640951b0e7164a12ea1770330eba3e6109fc2 (patch)
tree4a212c09d74e9fd611805f44c3af90e7d1119fd0 /version.h
parent649753b7f5410552c70931e32c193d83df3af97e (diff)
downloadruby-ced640951b0e7164a12ea1770330eba3e6109fc2.tar.gz
Implement Array#minmax
Array#minmax was previous not implemented, so calling #minmax on array was actually calling Enumerable#minmax. This is a simple implementation of #minmax by just calling rb_ary_min and rb_ary_max, which improves performance significantly. Fixes [Bug #15929]
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions