John Wilson wrote: > One thing I have considered is aggregating all these > closures/lambda/etc in a compilation unit as static methods on a > single class. This means that you amortise the cost of a classloader > over several methods. Instances of the function object delegate to the > static method. The cost is, obviously, delayed GC of the "mothership" > class.
Kawa does a variant of this: http://www.gnu.org/software/kawa/internals/procedures.html -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---
