On 8 April 2013 22:25, Jacob Carlborg <doob@me.com> wrote:
On 2013-04-08 10:29, Iain Buclaw wrote:

This information could possibly be helpful.  Though given that most of
(gdc) codegen is on par with g++, there's probably not much on the list
that isn't already detected by the backend optimisation passes.

Multiple calls to pure functions could be cached.

Not if it can still make external assignments though. pure in D is basically a lie! :,(