Skip to content

Commit bc6c8b2

Browse files
Add CommonWorldInvalidations world
This makes this package invalidation-free and precompiles based on an earlier state which matches Symbolics and thus reduces/removed repeated invalidation handling. This shouldn't effect compile at all from where we were before, but it will change precompilation time as it moves it all to a shared moment.
1 parent cbd29c7 commit bc6c8b2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name = "Static"
22
uuid = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
33
authors = ["chriselrod", "ChrisRackauckas", "Tokazama"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
7+
CommonWorldInvalidations = "f70d9fcc-98c5-4d4a-abd7-e4cdeebd8ca8"
78
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
9+
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
810

911
[compat]
1012
Aqua = "0.8.4"

src/Static.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ import IfElse: ifelse
55
export StaticInt, StaticFloat64, StaticSymbol, True, False, StaticBool, NDIndex
66
export dynamic, is_static, known, static, static_promote
77

8+
import PrecompileTools: @recompile_invalidations
9+
10+
@recompile_invalidations begin
11+
import CommonWorldInvalidations
12+
end
13+
814
"""
915
StaticSymbol
1016

0 commit comments

Comments
 (0)