I'm trying to get @foo ||= blah compiling and I'm noticing how
expensive it is. It does the following questionable operations:

* self.getInstanceVariables().hasInstanceVariable("@foo") // uncached
ivar lookup every time
* creating a string for the defined? logic's return value even if it's
not ever used
* all of this done in-line rather than in external utiity methods

At the very least the determination of whether to proceed should be a
utility method rather than embedded inline everywhere.

I'm continuing on with it the way it is, but I thought I should point
this out. :)

- Charlie

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

    http://xircles.codehaus.org/manage_email


Reply via email to