[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61398] Re: [ruby-trunk - Feature #8426][Open] Implement class hierarchy method caching

From: Eric Wong <normalperson@...>
Date: 2014-03-10 06:53:56 UTC
List: ruby-core #61398
Eric Wong <normalperson@yhbt.net> wrote:
> I may try adding caching in the main method table itself;
> especially if we end up using the container_of-style of method tables

Tried and unimpressive on bm_so_binary_trees so far:
http://bogomips.org/ruby.git/patch?id=a5ea40b8f6550ceff58781d

> from Feature #9614 to reduce indirection.

At least that saves memory...

In This Thread