[xml] Minor improvement possible
- From: Bruce Dawson <brucedawson google com>
- To: xml gnome org
- Subject: [xml] Minor improvement possible
- Date: Thu, 5 Jan 2017 15:00:20 -0800
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 be applicable to libxml2) is attached.
--
Attachment:
patch.txt
Description: Text document
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]