[Mono-devel-list] [PATCH] Reworked unified Locale classes

Peter Dennis Bartok peter at novonyx.com
Thu Jun 16 13:04:38 EDT 2005


>Benchmarks really don't matter here I think. The *only* reason people
>would use the Locale class is when an exception gets thrown and we need
>to get the error message. Since an exception is 1) exceptional and 2)
>already slow, not too much harm in slowing it down more :-).
Ben, you are not correct. In MWF, the Locale class is used for getting 
localized text for buttons in dialogs, for retrieving built-in images (for 
dialogs), icons and cursors, and to retrieve the category and description 
for viewing properties in propertygrid. Those are not in the main code path 
and don't demand ultra-high speed, but performance does matter a bit

Peter





More information about the Mono-devel-list mailing list