[Mono-dev] [PATCH] Simplifying/optimizing CodeGenerator.cs

Robert Jordan robertj at gmx.net
Sun Jan 6 17:15:01 EST 2008


Hi Juraj,

Juraj Skripsky wrote:
> Hi,
> 
> Attached you'll find a patch for CodeGenerator.cs (in
> System.CodeDom.Compiler). It simplifies two methods considerably and
> might also bring a small performance improvement (perf. tests pending).

I think using a visitor pattern would be more appropriate.
Performance and style-wise.

Robert




More information about the Mono-devel-list mailing list