Re: [ceph-devel] [cppcheck] suggested a few performance improvements

2010-03-25 Thread Sage Weil
Hi Martin, On Wed, 24 Mar 2010, Martin Ettl wrote: > attached to this mail, there is the output of scan with cppcheck. > Cppcheck reports few issues about post and pre incrementation of > iterators (post increment is faster) and const correctness,e.g: Thanks for the results. I'll fix some of t

Re: [ceph-devel] [cppcheck] suggested a few performance improvements

2010-03-22 Thread Sage Weil
Hi Martin, On Mon, 22 Mar 2010, Martin Ettl wrote: > i have checked the current git head with cppcheck ( a static code > analysis tool, http://sourceforge.net/projects/cppcheck/). It is an > allready very powerfull tool that makes some suggestions, how to improve > performance of the code. > >