-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eval prefetch #1816
Merged
Merged
Eval prefetch #1816
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
034ea80
Add a cache for the roundCowBase
tsachiherman 5f52560
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 0f03560
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 6454304
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 440a37d
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 86b0582
Add lock
tsachiherman 9cd876e
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 1c7ba23
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman a8b26be
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 0df75f1
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman 88e345f
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman f87f92f
Merge branch 'master' into tsachi/cacheRoundCowBase
tsachiherman f7aa6e4
Merge remote-tracking branch 'tsachi/tsachi/cacheRoundCowBase' into e…
brianolson 071fe30
prefetch accounts at start of eval
brianolson 5a93b3b
better context
brianolson d6446d1
Merge remote-tracking branch 'origin/master' into eval_prefetch
brianolson 78984b5
Merge remote-tracking branch 'origin/master' into eval_prefetch
brianolson 08a83ba
fix usage of amended roundCowBase
brianolson b4cada2
add non-prefetch option to eval(); mutex around deadlock.Opts.Disable
brianolson f79b3d7
Merge remote-tracking branch 'origin/master' into eval_prefetch
brianolson 915b606
Merge remote-tracking branch 'origin/master' into eval_prefetch
brianolson ffc43a1
fmt
brianolson 77054ac
This reverts commit ffc43a18e1536c8ab290e3332f24fd6b194a7061.
brianolson 2ece811
TestArchivalFromNonArchival is incompatible with `go test -race`
brianolson 2816c78
fmt
brianolson 3a3fec8
Merge remote-tracking branch 'origin/master' into eval_prefetch
brianolson 74643f0
wait for prefetchThread to complete before returning from eval()
brianolson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
ctx
here might not be the best context to use. I think it would be better to copy thefrom few lines below and use it here. That way, whenever this function exits OR the calling context is canceled, the prefetchThread would abort.