Re: Re: TableReport slow down

Johan Brichau <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi Hilaire,

If you are rendering a euro symbol on an html page, it’s probably better to use the html character code:

html encodeCharacter: Character euro
-or-
html html: '&#8364;’

It would also be helpful if you report the performance issue you have with some canonical code to reproduce it on https://github.com/SeasideSt/Seaside/issues <https://github.com/SeasideSt/Seaside/issues>
It might be useful to investigate what happens and if it can be prevented. Though, the page document always needs to be encoded as a utf8 document, so I assume internally a bytestring is used.

happy new year
Johan

> On 01 Jan 2016, at 11:09, Hilaire <[email protected]> wrote:
> 
> Le 31/12/2015 15:42, Sven Van Caekenberghe a écrit :
>> A possible solution is to somehow start with a WideString from the beginning (or force it before doing all elements one by one).
> 
> In the hack you are suggesting, does it not required the whole contents
> of the rendered page html code to be put as WideString?
> Indeed, hacking only my object #printOn: method to send WideString to
> the stream does not help.
> 
> Hilaire
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> http://google.com/+DrgeoEu
> 
> 
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.