Hi Amit,

On 03/27/2018 06:42 AM, Amit Langote wrote:
I have managed to make the recursion go away in the attached updated
version.  I guess that's the result of employing the idea of a "output
register" for individual pruning steps as mentioned in Robert's email
upthread where he detailed the "pruning steps" approach [1].

With the new patch, pruning steps for arguments of, say, an OR clause are
not performed recursively.  Instead, each pruning step is performed
independently and its output is stored in a slot dedicated to it.  Combine
steps are always executed after all of the steps corresponding to its
arguments have been executed.  That's ensured by the way steps are allocated.


Running v41 with "partition_prune" under valgrind gives the attached report.

Best regards,
 Jesper

Attachment: 25970.log.gz
Description: application/gzip

Reply via email to