This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 28/04/14 15:24 -0400, Tim Shen wrote:
Worth a try. Will you make the change or will I? It seems to be simpler doing than talking.
Yes :-) I'm testing the attached patch now. It compiles slightly faster (-ftime-report shows, as expected, that less time is spent in template instantiation). I'd also like to change __match_mode from a bool to an enum like: enum _Match_mode { _S_exact_match, _S_prefix_match }; Because I find it easier to read something like: if (__match_mode == _S_exact_match) // ... rather than if (__match_mode) // ...
Attachment:
re4.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |