Some optimizations

http://gresil.org/jenkins/job/nit%20bootstrap/PerfPublisher/ shows a slow degratation of the performances.
So, thanks to valgrind, I spotted 3 hot points and tried to optimize them.

The overall gain is 14% in nitg compiling nitg. Not bad.