Re: [xml] Minor improvement possible

2017-08-28 Thread Daniel Veillard
Hi Bruce, indeed a minor improvement, but that sounds absolutely right, those data tables are never updated, Applied and pushed: https://git.gnome.org/browse/libxml2/commit/?id=8f57103793e1e1b1be478f1feb607d19d725d048 thanks a lot, Daniel On Thu, Jan 05, 2017 at 03:00:20PM -0800,

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