Logs for the RingoJS IRC channel, as logged by ringostarr.

2011-05-04

[10:24] <oberhamsi> thx for kinda fixing stick, makes 0.8 more attractive :)

[11:39] <hannesw> oberhamsi: you're welcome.

[11:40] <hannesw> more things to fix, but I think ringo core is pretty much ready for release.

[11:40] <hannesw> what I want to do is add some .md documentation in the docs/ folder

[11:40] <hannesw> things like command line tools etc

[16:58] <mschwartz> interesting observation about rhino performance

[16:58] <mschwartz> inside a function

[16:59] <mschwartz> doing:

[16:59] <mschwartz> var me = this;

[16:59] <mschwartz> and using me instead of this everywhere

[16:59] <mschwartz> is 2x faster

[17:01] <mschwartz> loop 100,000 times doing this.x = this.x + 1

[17:01] <mschwartz> 360ms

[17:01] <mschwartz> loop 100,000 times doing me.x = me.x + 1

[17:01] <mschwartz> 205ms

[17:02] <mschwartz> in nodejs, it seems a 5% penalty for doing the same thing

[20:51] <hannesw_> mschwartz: interesting observation

[20:52] <hannesw_> it's expected that a var inside a function is very fast/fastest, because it's implemented as local java field

[20:52] <hannesw_> but it would be strange for `this` to be so much slower, as it should be a local field as well.

[20:57] <hannesw_> will have to look at the bytecode produced

[20:58] <mschwartz> ha, yeah

[20:58] <mschwartz> this should be HIGHLY optimized

[20:58] <mschwartz> it's a local variable

[20:59] <mschwartz> and Rhino is about 100x slower than NodeJS doing the same code

[20:59] <mschwartz> sorry

[20:59] <mschwartz> 30x

[21:03] <mschwartz> hey, question for you

[21:03] <mschwartz> I'm using Helma in production

[21:03] <mschwartz> I've replaced the js.jar with one from ringojs

[21:03] <mschwartz> can I do the same with Jetty, like to v1.7?