phase: remove a useless verbose executed
authorJean Privat <jean@pryen.org>
Thu, 14 Aug 2014 01:50:38 +0000 (21:50 -0400)
committerJean Privat <jean@pryen.org>
Thu, 14 Aug 2014 01:56:18 +0000 (21:56 -0400)
Was called nb_classdefs*nb_phases times, so approximatively 50.000 for nitg.
Without it, the gain is 6% in compiling nitg

Signed-off-by: Jean Privat <jean@pryen.org>

src/phase.nit

index ace2cb9..0705139 100644 (file)
@@ -98,7 +98,6 @@ redef class ToolContext
                                end
                                errcount = self.error_count
                                for nclassdef in nmodule.n_classdefs do
-                                       self.info(" phase: {phase} for {nclassdef.location}", 3)
                                        assert phase.toolcontext == self
                                        phase.process_nclassdef(nclassdef)
                                        for npropdef in nclassdef.n_propdefs do