JuliaReach / LazySets.jl

Scalable symbolic-numeric set computations in Julia
https://juliareach.github.io/LazySets.jl/
Other
226 stars 32 forks source link

Use only one interval instance for `zero_itv` / `sym_itv` #3495

Open schillic opened 3 months ago

schillic commented 3 months ago

In #3447 we added convenience functions from ReachabilityAnalysis to construct important intervals (zero_itv/sym_itv). They were generalized to other numeric types; hence currently every call creates a new instance. We should have a dictionary instead that stores these instances, or just store the Float64 one because that is the one we would use in practice.