Hi Noel,
On Tue, 2012-03-13 at 08:48 +0200, Noel Grandin wrote:
> Just some interesting numbers for this debate.
:-)
> Doing some rough analysis on master:
>
> [1] total number of throw calls 108381
It's really rather smaller than this; a better proxy is:
$ git grep 'throw *[^(]' | wc -l
16279
> [2] total no. of catch blocks 3984
> re-throws the same exception 319
> throws different exception 433
> calls generic handler 1134
> ignores exceptions 1121
> others 977
Nice breakdown :-)
So of course the 16k number of throws seems huge, but next to our:
$ find -name '*.[ch]*' | xargs grep ';' | wc -l
5600685
it is 0.3% of our ';' lines ;-)
HTH,
Michael.
--
[email protected] <><, Pseudo Engineer, itinerant idiot
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice