[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69300] [Ruby trunk - Feature #10302] [Assigned] [PATCH] marshal.c: lazy compat_tbl allocation
From:
shibata.hiroshi@...
Date:
2015-05-21 08:16:37 UTC
List:
ruby-core #69300
Issue #10302 has been updated by Hiroshi SHIBATA.
Status changed from Open to Assigned
----------------------------------------
Feature #10302: [PATCH] marshal.c: lazy compat_tbl allocation
https://bugs.ruby-lang.org/issues/10302#change-52559
* Author: Eric Wong
* Status: Assigned
* Priority: Normal
* Assignee: Eric Wong
----------------------------------------
Will commit in a few days.
In some common cases, `compat_tbl` is unused in `dump_arg`/`load_arg`,
so avoid malloc/free costs for the unused table.
~~~
ruby -e 'h = {a: :b}; 600000.times { Marshal.load(Marshal.dump(h)) }'
before:
real 0m2.458s
user 0m2.450s
sys 0m0.006s
after:
real 0m2.122s
user 0m2.110s
sys 0m0.011s
~~~
---Files--------------------------------
0001-marshal.c-lazy-compat_tbl-allocation.patch (4.26 KB)
--
https://bugs.ruby-lang.org/