Perhaps it would be a good idea to add some comments to that code so that analysis is preserving for future generations of code archeologists :-)
Seriously, I often do this because it saves me time later when I look at some code and think "why is it doing _that__???" Michael Meeks wrote: > On Thu, 2011-08-18 at 01:57 -0500, Norbert Thiebaud wrote: >> Guards are used and badly abused in the code, especially with the >> infamous SolarMutex... >> anything that would make that code slower or fatter than it already is >> (with virtual functions and all), especially for corner-case >> 'you-are-about-to-die-anyway' scenario, is bad. > Right - throwing exceptions - or annotating methods as being able to > throw exceptions for corner cases that are highly unlikely seems like > just adding unwinding bloat for no major advantage. > >> so my opinion is, just let it be :-) > Ditto; good catch though Lionel - great to have some scrutiny of this > sort of issue: no doubt there are plenty of things that can fail that > are not handled correctly currently, and would be good to improve. > Thanks for caring ! > > All the best, > > Michael. > Disclaimer: http://www.peralex.com/disclaimer.html
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice