Skip to content

Adding di.cache module#76

Open
boyce-pj wants to merge 8 commits intomainfrom
cache_new
Open

Adding di.cache module#76
boyce-pj wants to merge 8 commits intomainfrom
cache_new

Conversation

@boyce-pj
Copy link
Contributor

Commiting code from Adam Beck and Lewis Cooley

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably have tests for setmaxinidiv and setmaxsize, including validating that the max sizes are respected by execute

Comment on lines +9 to +10
true,0,0,q,100~ maxindividual,1,, Check maxindividual configed correctly by function
true,0,0,q,100~ maxsize,1,, Check maxindividual configed correctly by function
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is OK, but we should make sure that when we actually call execute, if result is too large it won't get cached, and that things get evicted from cache as necessary etc.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the difference there, will update now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants