visionmedia/jade — pull request #591 by chowey (2012-04-14 18:01:56+00:00)
Title: Improve performance of pretty mixins

The recent addition of pretty mixins degraded performance noticably for options like "compileDebug: false" or "self: true".

Now we only adjust the compiled jade where mixins are actually being called.

The performance when no mixins are present is now comparable to before. The performance has also improved when mixins are being called. This also works for pretty nested mixins.