Would it be possible/advisable to make the RegexDslPlugin automatically create a private static field in the class so that the regex gets generated only once at class load time? I guess that would require watching out for pushing that down to subtype classes for the mixin case.
brianFri 5 Jun 2009
I'll probably do that eventually, but it wasn't a big priority for me since it is just an optimization. Actually I want to have a little mini-fw for DSL writers to do stuff like create single instances of their DSLs (if immutable).
tompalmerFri 5 Jun 2009
Actually I want to have a little mini-fw
Sorry. Being slow right now. What's "fw" stand for here?
tompalmer Thu 4 Jun 2009
Would it be possible/advisable to make the RegexDslPlugin automatically create a private static field in the class so that the regex gets generated only once at class load time? I guess that would require watching out for pushing that down to subtype classes for the mixin case.
brian Fri 5 Jun 2009
I'll probably do that eventually, but it wasn't a big priority for me since it is just an optimization. Actually I want to have a little mini-fw for DSL writers to do stuff like create single instances of their DSLs (if immutable).
tompalmer Fri 5 Jun 2009
Sorry. Being slow right now. What's "fw" stand for here?
brian Fri 5 Jun 2009
framework
tompalmer Fri 5 Jun 2009
Sounds great. Thanks.