diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-06-17 11:33:44 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-07-02 08:07:06 -0700 |
commit | ced640951b0e7164a12ea1770330eba3e6109fc2 (patch) | |
tree | 4a212c09d74e9fd611805f44c3af90e7d1119fd0 /doc | |
parent | 649753b7f5410552c70931e32c193d83df3af97e (diff) | |
download | ruby-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 'doc')
0 files changed, 0 insertions, 0 deletions