[ruby-cvs:55072] akr:r47923 (trunk): * enum.c: min(n) drops elements bigger than the n-th maximum element.

akr at ruby-lang.org akr at ruby-lang.org
Wed Oct 15 07:24:37 JST 2014


akr	2014-10-15 07:24:34 +0900 (Wed, 15 Oct 2014)

  New Revision: 47923

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47923

  Log:
    * enum.c: min(n) drops elements bigger than the n-th maximum element.
      (struct nmin_data): New field to record the n-th maximumelement, limit
      (nmin_filter): Update limit field.
      (nmin_i): Drop too big eleents.

  Modified files:
    trunk/ChangeLog
    trunk/enum.c


More information about the ruby-cvs mailing list