Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
202 additions
and
33 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "TestPrecompile" | ||
uuid = "ff0854c6-fbc5-40f0-bd2d-de277d7b8f28" | ||
authors = ["Peter Ahrens <ptrahrens@gmail.com>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
Memoize = "c03570c3-d221-55d1-a50c-7939bbd78826" |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module TestPrecompile | ||
using Memoize | ||
run = 0 | ||
@memoize function forgetful(x) | ||
global run += 1 | ||
return true | ||
end | ||
|
||
forgetful(1) | ||
end # module |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "TestPrecompile2" | ||
uuid = "7fd9c7c1-bae8-496a-aa66-4a9878cd045a" | ||
authors = ["Peter Ahrens <ptrahrens@gmail.com>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
TestPrecompile = "ff0854c6-fbc5-40f0-bd2d-de277d7b8f28" |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module TestPrecompile2 | ||
|
||
using TestPrecompile | ||
TestPrecompile.forgetful(2) | ||
|
||
end # module |
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