From f83116e620d75ee5390360132b1ada6fdff4fe63 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 6 Nov 2014 01:14:15 +0000 Subject: lib/uri/rfc2396_parser.rb (initialize): reduce bytecode size Reduce the initialize method from 2088 to 1332 bytes on 32-bit x86 Measurement obtained using `memsize_of_all', as `memsize_of' is non-recursive: a = ObjectSpace.memsize_of_all(RubyVM::InstructionSequence) RubyVM::InstructionSequence.compile(src) b = ObjectSpace.memsize_of_all(RubyVM::InstructionSequence) p(b - a) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6a768fc582..bb7f3b15e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 6 09:53:18 2014 Eric Wong + + * lib/uri/rfc2396_parser.rb (initialize): reduce bytecode size + 2088 => 1332 bytes on 32-bit x86 + Thu Nov 6 08:49:49 2014 Martin Duerst * lib/unicode_normalize/normalize.rb: Comment clarification. -- cgit v1.2.3