Excessive exception size cost ...

Noel Grandin noel at peralex.com
Mon Mar 12 23:48:47 PDT 2012


Just some interesting numbers for this debate.

Doing some rough analysis on master:

[1] total number of throw calls     108381

[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


Footnotes

[1] git grep throw | wc -l

[2] find . -name *.cxx | xargs grep -A 5 -h "catch ("
     and then a small java program


Disclaimer: http://www.peralex.com/disclaimer.html




More information about the LibreOffice mailing list