Project

General

Profile

Actions

Feature #11318

closed

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

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

Added by normalperson (Eric Wong) over 10 years ago. Updated over 10 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: PDF Atom