Charles Oliver Nutter created JRUBY-6500: --------------------------------------------
Summary: Compiler improvements Key: JRUBY-6500 URL: https://jira.codehaus.org/browse/JRUBY-6500 Project: JRuby Issue Type: Improvement Components: Compiler Reporter: Charles Oliver Nutter Fix For: JRuby 1.7 Catch-all for upcoming compiler improvements, aiming for 1.7. * backref and lastline currently cause a full scope to be created for a given method. This slows any code that calls innocuous methods like []. However, only a NoVars scope should be necessary, to just have room for the backref/lastline slots. * backref and lastline could be shunted to some other stack or thread-local structure, instead of requiring a scope. This would greatly reduce the impact of methods as described above (no scope at all would be neccessary; worst case, an int would need to be incremented/decremented in ThreadContext. * Constant accesses currently require a dummy scope to be pushed/popped for any methods that contain them. This could be eliminated by making sure the method has access to its own StaticScope, which is the only additional structure needed to lookup constants. Combined with invokedynamic constant lookup, this would make constant access essentially free. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email