We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c291735 commit fe948c6Copy full SHA for fe948c6
src/copyable_task.jl
@@ -90,6 +90,9 @@ function build_callable(sig::Type{<:Tuple})
90
bb, refs, types = derive_copyable_task_ir(BBCode(ir))
91
unoptimised_ir = IRCode(bb)
92
@static if VERSION > v"1.12-"
93
+ # This is a performance optimisation, copied over from Mooncake, where setting
94
+ # the valid world age to be very strictly just the current age allows the
95
+ # compiler to do more inlining and other optimisation.
96
unoptimised_ir = set_valid_world!(unoptimised_ir, world_age)
97
end
98
optimised_ir = optimise_ir!(unoptimised_ir)
0 commit comments