Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Implement the pad cache
Frames are now kept on a number of auxilliary doubly-linked lists. In each list, frames can be reused after they return, because the lists are kept monotonic by call depth. When the call stack needs to change shape away from a stack, for closures and gather/take, a new list is created and the relevant frames are relinked. +30% speedup on the call benchmark.
- Loading branch information
Showing
3 changed files
with
63 additions
and
13 deletions.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,4 +29,4 @@ | |
| sub x29 () { x28; x28 } # 536870911 | ||
| sub x30 () { x29; x29 } # 1073741823 | ||
|
|
||
| x25; | ||
| x26; | ||