Re: [xml] Minor improvement possible

2017-01-10 Thread Bruce Dawson via xml
I blogged about the importance of adding const in order to get best results here: https://randomascii.wordpress.com/2017/01/08/add-a-const-here-delete-a-const-there/ Some of the post talks about a VC++ compiler bug - ignore that. Note that having constant data in the read-only data segment is a

[xml] Minor improvement possible

2017-01-05 Thread Bruce Dawson via xml
The constant array xmlUnicodeBlocks is not marked as 'const' so it ends up in the read/write data segment instead of the read-only data segment, which can lead to it becoming per-process private data instead of image-backed shared data. A patch file (made in the context of Chrome, but it should