Re: [Patch] Reduce regex _M_dfs frame size

2016-08-22 Thread Tim Shen
On Mon, Aug 22, 2016 at 10:35 AM, Jonathan Wakely wrote: > On 20/08/16 03:28 -0700, Tim Shen wrote: > OK for trunk with the more detailed changelog entry. Thanks! Done. Tested on x86_64-linux-gnu (if I remember it correctly back to several days ago) and committed as r239673. -- Regards, Tim Sh

Re: [Patch] Reduce regex _M_dfs frame size

2016-08-22 Thread Jonathan Wakely
On 20/08/16 03:28 -0700, Tim Shen wrote: I merely split _M_dfs() into small functions to see how it goes. It turns out to save half of the stack consumption in -O0 without observable performance impact. That seems like a good improvement. Split _M_dfs() into smaller functions. This