[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65551] Re: [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string

From: Eric Wong <normalperson@...>
Date: 2014-10-09 04:55:29 UTC
List: ruby-core #65551
SASADA Koichi <ko1@atdot.net> wrote:
> On 2014/10/09 11:04, Eric Wong wrote:
> > A new putstring_for instruction may replace all current uses of:

> Sorry, I can't find a `putstring_for' instruction. Which patch should I see?

putstring_for is in part #2:
http://80x24.org/spew/m/5a77be4e211c81a509573e3e1ca3bc3ca2383e68.txt

All patches + git also pushed to my "putstring" branch in git:
http://bogomips.org/ruby.git/log/?h=putstring

(git remote add bogomips git://bogomips.org/ruby.git &&
 git fetch bogomips)

> I'm happy how ruby sources compiled to bytecode sequence.

> BTW, any instructions except opt_* instrcutions don't include `_'
> (underscore) characters. It is easy that which are core isntructions and
> which are optional (for maybe optimization) instructions.

OK, I can rename to "putstring2" or "putstringfor" (or "putstringlazy")?
You should decide the final name.

In This Thread