inducer / pytato

Lazily evaluated arrays in Python
Other
8 stars 16 forks source link

Separate `InlinedExpressionGenMapper` recursion from DAG recursion #448

Closed majosm closed 11 months ago

majosm commented 11 months ago

Calls CodeGenMapper.rec() for IndexLambda's bound arrays up front before calling InlinedExpressionGenMapper in order to reduce the overall recursion depth.

majosm commented 11 months ago

@inducer I think this is ready for a look (I don't have permissions to request a review).

inducer commented 11 months ago

LGTM, thanks!