[ruby-core:62699] Re: [PREVIEW] enc: convert some case fold tables to ihash

From: Nobuyoshi Nakada <nobu@...>
Date: 2014-05-21 01:05:17 UTC
List: ruby-core #62699
(2014/05/21 7:03), Eric Wong wrote:
> Not a serious patch, yet, but this saves over 100K as measured with:
> 
>     /usr/bin/time ./ruby --disable=gems -e '/o/i =~ ""'
> 
> on my Debian 7, x86-64 system (eglibc malloc).

Rather I'd like to convert these tables to perfect hashes.

> Download: http://80x24.org/casefold-ihash.patch

Why removed `const`s?

-- 
Nobu Nakada

In This Thread