tag:blogger.com,1999:blog-4704664917418794835.post866836707255873786..comments2023-07-01T05:41:30.469-07:00Comments on Headius: Finding a JVM compilation strategy for Ruby's dynamic natureheadiushttp://www.blogger.com/profile/15717357218364947795noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4704664917418794835.post-83696748596420936482007-07-11T14:52:00.000-07:002007-07-11T14:52:00.000-07:00How about replacing with nil on assignment instead...How about replacing with nil on assignment instead of later when it is called?Samhttp://www.blogger.com/profile/14121705654622595662noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-36240032401415139872007-07-11T15:00:00.000-07:002007-07-11T15:00:00.000-07:00Can you cache the MetaClass and dispatcher for eac...Can you cache the MetaClass and dispatcher for each local variable in another local variable on assignment to reduce that to a single lookup?Samhttp://www.blogger.com/profile/14121705654622595662noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-13632213791495372712007-07-12T05:52:00.000-07:002007-07-12T05:52:00.000-07:00In Mono's JScript.NET implementation we annota...In Mono's JScript.NET implementation we annotated methods of the run time with [JSFunctionAttribute(HasThisObject | HasEngine | HasVarArgs)] and so on. The compiler would have a look at those annotations and only pass information that the target method actually needs.<br><br>We were also able to directly pass arguments via the stack for methods that take a static number of arguments. <br><br>Perhaps that could work here as well?flgrhttp://www.blogger.com/profile/05128769452612477118noreply@blogger.com