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
Optimizations #98
Merged
Merged
Optimizations #98
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4b7c3c0
Define Instruction Set.
pepyakin 48e4704
WIP
pepyakin 81b832f
WIP 2
pepyakin 5dd56d6
Tests
pepyakin 40d73f2
Working
pepyakin 875f73e
Bunch of other tests.
pepyakin 0d59364
WIP
pepyakin 029b052
WIP
pepyakin 77a836f
Use Vec instead of VecDeque.
pepyakin ae8c834
Calibrate the limits.
pepyakin 259c59f
Clean
pepyakin 15ec33e
Clean
pepyakin 7f07c1c
Another round of cleaning.
pepyakin bf80ad7
Ignore traces.
pepyakin c5b8591
Optimize value stack
pepyakin 583bb63
Optimize a bit more.
pepyakin bdbf10b
Cache memory index.
pepyakin a16e757
Inline always instruction dispatch function.
pepyakin d8814fa
Comments.
pepyakin b16feab
Clean
pepyakin 4e9f394
Clean
pepyakin 3f10ba6
Use vector to keep unresolved references.
pepyakin bcc426c
Estimate resulting size.
pepyakin b2b9d62
do refactoring
pepyakin 0f6da82
Validate the locals count in the begging
pepyakin 2900215
Introduce Keep and DropKeep structs in isa
pepyakin 6506705
Rename/Split Validator into Reader
pepyakin c384da2
Document stack layout
pepyakin 76f6d0e
Remove println!
pepyakin 26ff4c5
Fix typo.
pepyakin 6647bc4
Use .last / .last_mut in stack
pepyakin 4ea0aee
Update docs for BrTable.
pepyakin b94f9f2
Review fixes.
pepyakin 856a34c
Merge.
pepyakin b7fff03
Add an assert that stack is empty after the exec
pepyakin File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
/target | ||
*.trace | ||
|
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
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
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
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
Oops, something went wrong.
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.
why?
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.
For cachegrind, although this probably shouldn't be committed.
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.
Yeah, or Instruments in my case : )