[ruby-core:69778] [Ruby trunk - Feature #11318] [Open] [PATCH] delay `exception: false' checks for minor speedup

From: normalperson@...
Date: 2015-06-29 21:52:37 UTC
List: ruby-core #69778
Issue #11318 has been reported by Eric Wong.

----------------------------------------
Feature #11318: [PATCH] delay `exception: false' checks for minor speedup
https://bugs.ruby-lang.org/issues/11318

* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: Eric Wong
----------------------------------------
Delay hash lookups until we are about to hit an exception.  This
gives a minor speedup ratio of 2-3% in the new bm_io_nonblock_noex
benchmark as well as reducing code.

Pretty straighforward, I'd like to commit in a few days.


---Files--------------------------------
0001-delay-exception-false-checks-for-minor-speedup.patch (12.4 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next