On Wed, Feb 03, 2016 at 06:07:25PM +0100, Bernd Schmidt wrote: > On 02/02/2016 09:59 AM, Jakub Jelinek wrote: > > >I wonder if it wouldn't be better to pass around some structure, containing > >for the common case fixed size cache and perhaps fall back to hash_map if > >there are more calls to cache than that. Plus perhaps a recursion depth, so > >that we avoid other pathological cases. > > I had the same thought. Maybe for stage1?
Yeah. Jakub