nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65ac643
)
phase: remove a useless verbose executed
author
Jean Privat
<jean@pryen.org>
Thu, 14 Aug 2014 01:50:38 +0000
(21:50 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/src/phase.nit
b/src/phase.nit
index
ace2cb9
..
0705139
100644
(file)
--- a/
src/phase.nit
+++ b/
src/phase.nit
@@
-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