Project

General

Profile

Actions

Feature #11318

closed

[PATCH] delay `exception: false' checks for minor speedup

Added by normalperson (Eric Wong) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:69778]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0