ruby-changes:39942
From: akr <ko1@a...>
Date: Sun, 4 Oct 2015 22:05:39 +0900 (JST)
Subject: [ruby-changes:39942] akr:r52023 (trunk): * ext/pathname/lib/pathname.rb: freeze string literals for
akr 2015-10-04 22:05:32 +0900 (Sun, 04 Oct 2015) New Revision: 52023 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52023 Log: * ext/pathname/lib/pathname.rb: freeze string literals for reduced object allocation. patch by schneems. Modified files: trunk/ChangeLog trunk/ext/pathname/lib/pathname.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 52022) +++ ChangeLog (revision 52023) @@ -18,6 +18,11 @@ Sun Oct 4 00:09:45 2015 Nobuyoshi Naka https://github.com/ruby/ruby/blob/trunk/ChangeLog#L18 - do not set other environment variables, e.g. PWD, SHLVL, etc - do not open other FDs, e.g. pipes for timer thread +Sun Oct 2 10:59:00 2015 schneems <richard.schneeman@g...> + + * ext/pathname/lib/pathname.rb: freeze string literals for + reduced object allocation. + Fri Oct 2 09:20:20 2015 Martin Duerst <duerst@i...> * common.mk, lib/unicode_normalize/tables.rb: Change Unicode Index: ext/pathname/lib/pathname.rb =================================================================== --- ext/pathname/lib/pathname.rb (revision 52022) +++ ext/pathname/lib/pathname.rb (revision 52023) @@ -1,3 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L1 +# -*- frozen_string_literal: true -*- # # = pathname.rb # -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/