[ruby-cvs:72460] nobu:r65360 (trunk): time.c: benchmark recovery

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 25 09:36:24 JST 2018

nobu	2018-10-25 09:36:23 +0900 (Thu, 25 Oct 2018)

  New Revision: 65360


    time.c: benchmark recovery
    * time.c (time_localtime): check if `vtm.zone` is a simple zone
      name string before trying to call the conversion method.  since
      r64952, `Time.getlocal` on UTC time has lost the performance
      about 45%, due to this call.  the performance is about 90% of
      r64951 by avoiding it.

  Modified files:

More information about the ruby-cvs mailing list