Repository navigation
module style 4.5: introduce function cache to speed up some optimizations #369
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
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5fc7677
part 1, introduce the cache
prozacchiwawa d341b90
pin chia-bls until the ci gets changed
prozacchiwawa 5d07172
introduce function cache
prozacchiwawa bf231ab
update arm64 macos version
prozacchiwawa 2d21d26
higher macos version
prozacchiwawa eb18ba3
fmt + clippy
prozacchiwawa 0a50a52
clippy
prozacchiwawa 5e2d309
try to fix workflow
prozacchiwawa 5836fbb
remove
prozacchiwawa ef65211
merge from below
prozacchiwawa 077f672
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa 5cbb1dd
Merge branch '20260302-introduce-function-cache' into 20260224-codege…
prozacchiwawa 4fc95ea
remove eprintln
prozacchiwawa e86583f
Merge branch '20260216-freeze-early-cache' into 20260302-funcache-merge
prozacchiwawa 5715945
Merge branch '20260224-codegen-function-cache' into 20260302-introduc…
prozacchiwawa a7cca04
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa af692f2
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa 09156e1
Nilify environment atom if it matches no used name
prozacchiwawa 0d1b59b
Explicit pointer types
prozacchiwawa f61786c
pub unneeded
prozacchiwawa a81f523
Move dependency graph so we can let the caller ensure it aligns with …
prozacchiwawa ca29fe2
fmt
prozacchiwawa 1dfeb8e
fmt + clippy
prozacchiwawa ea82771
don't compute a cache key unless funcache is present
prozacchiwawa 0924364
ensure 'already present' checks are performed along the cache path as…
prozacchiwawa f8fec36
No need for dependency graph here
prozacchiwawa 47d9f90
fmt
prozacchiwawa d756ad9
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa 666863a
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa e3cb9f2
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa b22d347
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa d512bb5
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa 9d1141c
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa fc6d90f
fix
prozacchiwawa 3606a6c
Merge branch '20260216-freeze-early-cache' into 20260302-introduce-fu…
prozacchiwawa 9f1281e
merge up
prozacchiwawa 45fc599
some code to ponder
aqk f28fb3d
Merge branch 'main' into module-style-4.5-proposal
aqk 2140d5d
add missing file
aqk 9027df1
fix type mismatch
aqk 3285396
fmt
aqk 0859511
ignore *.profraw
aqk 060450b
Merge pull request #454 from Chia-Network/module-style-4.5-proposal
prozacchiwawa 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 hidden or 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,3 +1,4 @@ | ||
| *.profraw | ||
| target | ||
| wasm/target | ||
| .idea | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| (include *standard-cl-24*) | ||
|
|
||
| (defconst C 33) | ||
| (defconst CC 99) | ||
|
|
||
| (defun F (X) | ||
| (+ X C) | ||
| ) | ||
|
|
||
| (defun G (X) | ||
| (sha256 X CC) | ||
| ) | ||
|
|
||
| (defun H (X) | ||
| (sha256 1 X CC) | ||
| ) | ||
|
|
||
| (defun FF (X Y) | ||
| (assign | ||
| Z (concat X Y) | ||
| (sha256 (F X) Y (fake-letbinding Z)) | ||
| ) | ||
| ) | ||
|
|
||
| (defun-inline fake-letbinding (X) X) | ||
|
|
||
| (defun GG (X Y) | ||
| (sha256 (G X) (H Y)) | ||
| ) | ||
|
|
||
| (export (X Y) (c (FF X Y) (GG X Y))) |
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.