There's Plethora of Ruby.newString(java.lang.String) uses which end up 
try/catch block in Bytelist.plain that can slow down the path by a good 
30%-50% over plain getBytes(). It that still needed ?
(not to mention uses like newString("[") an so on). And they're not 
paths that are only used for inspection (though, I can realize an app 
that uses (Array, Object, whatever)#inspect and similar heavily)

Marcin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Message Thread

[jruby-dev] Do we still need ByteList.plain ? Marcin Mielżyński (lopx@gazeta...)
10 May 2008
[jruby-dev] Re: Do we still need ByteList.plain ? Marcin Mielżyński (lopx@gazeta...)
10 May 2008
Re: [jruby-dev] Re: Do we still need ByteList.plain ? Charles Oliver Nutter (charles.nutter@sun...)
10 May 2008
Copyright 2006-2007 The Codehaus Foundation
Powered by Codehaus March (Version: 0.1-HEAD)