Mono-D v0.4.9.5 - Infinite analysis fix + Mixin analysis improvement
alex
info at alexanderbothe.com
Sun Jan 27 03:27:02 PST 2013
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
More information about the Digitalmars-d-announce
mailing list