Morning D folks, Implemented some new features concerning pre-compile time mixin analysis and expression evaluation:
http://mono-d.alexanderbothe.com/?p=814 (Screenshot included) I'd furthermore suggest that the prospective generational GC (not the current one, I mean the fictional that actually can collect nearly everything wisely! ;)) also supports weak references - because they're imho essential for a nice caching flow: In this version of mono-d I used a weak-keyed dictionary to store mixin expression results until the owner module is free'd and probably reparsed. This allows me to be more lazy regarding the deletion of those cache entries after I reparsed e.g. a module + mem leaking is prevented + less muddy code in the module update routines! :) Cheers, Alex
