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]

Re: [Patch] Regex bracket matcher cache optimization


On 8 January 2014 22:47, Tim Shen wrote:
>
> So my plan is to instantiate _Compiler and _Executor instead of user
> interfaces like basic_regex or regex_match, because the implementation
> may change (say add a new executor) later. Is that Ok?

I think we want to be cautious with exporting instantiations (and as
Paolo noted we definitely don't want to do it for 4.9.0 now). Slow
compile times are a problem, but only a minor annoyance. Exporting
symbols that might change is a bigger problem, as we have to keep
exporting them once they're in the library.  The current
implementation is new for 4.9, so I think we can live with it being
slow to compile for its first release. After 4.9.0 we will have more
user feedback and more experience with it, and for the next major
release will know what's stable enough to export "forever" from the
library.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]