On Tue, 18 Jun 2024 at 15:14, Richard Guo <guofengli...@gmail.com> wrote: > > On Tue, Jun 18, 2024 at 10:53 AM David Rowley <dgrowle...@gmail.com> wrote: > > I think the best solution is to apply the attached. I didn't test, > > but it should fix the issue you reported and also ensure that > > MemoizePath.calls is never zero, which would also cause issues in the > > hit_ratio calculation in cost_memoize_rescan(). > > +1.
Thanks for looking. Pushed. David