Re: [xml] Minor improvement possible
- From: Bruce Dawson <brucedawson google com>
- To: xml gnome org
- Subject: Re: [xml] Minor improvement possible
- Date: Tue, 10 Jan 2017 11:01:23 -0800
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 best practice even for single-processing. It's not a huge advantage, but it is strictly better than having logically-const globals in the read/write data segment.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]