-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Not memoizing the results of the graph leads to unnecessary traversals. Some of the expression graphs I have consist of only 25% unique subexpressions i.e. paying unnecessarily for many traversals. I was hoping to implement a memorized version of the mappers (with the id
as a default cheap cache-key). Some questions I had regarding this:
- Does something like this already exist? (git grep says no)
- Should this be implemented in the base mappers itself? (I'm leaning towards no as memorization wouldn't take into account global state, making it a non-trivial assumption.)
Metadata
Metadata
Assignees
Labels
No labels