[Pharo-users] Slow object printOn: with EURO symbol
hilaire at drgeo.eu
Sat Jan 2 04:58:37 EST 2016
With Pharo3, in an object of mine, I want its text representation to
come with the EURO symbol:
aStream << (amount asScaledDecimal: 2) greaseString
<< ' ' << '€'
It appears to be very slow when I browse such collection of objects
(says 1500) from an inspector
Replacing '€' by 'EUR' gives back normal rendering time.
Indeed the '€' is encoded as WideString, so not sure what is happening.
All content converted to WideString or what?
The issue was discussed in the Seaside mailing list and different
suggestions raised as well benchmarks exposing the issue:
I tested these benchs en Pharo 3 and 4 and the performance diagnostics
are the same.
There are matching reports to some extent:
Nevertheless, the problem of the performance remains.
More information about the Pharo-users