Thomas E Enebo wrote:
I wonder if we cannot do more to try and intern all methods names?  If
so then we could do direct == comparison.  All method names coming
from parser are intern'd.  Also all literal Java strings:

callMethod("foo")

are also intern'd.  So the 10,000$ question is where aren't we
interning?  Could intern'ing (which is likely to be more brittle) be
an approach to take?

-Tom

PS - I apologize in advance since I think I have had this conversation
before...I cannot remember the answer from last time we talked about
it.

We have had this discussion before, a while back; Charles did a spike and found that interning everything was actually quite a bit slower than the current approach (if I remember correctly).

--
Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)

"Yields falsehood when quined" yields falsehood when quined.



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

   http://xircles.codehaus.org/manage_email

Reply via email to