From 36758ad211500e4e0c253e7d74a37831a4666514 Mon Sep 17 00:00:00 2001 From: Beforerr Date: Sat, 23 Nov 2024 16:04:17 -0800 Subject: [PATCH] perf: make elements const --- src/ChargedParticles.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChargedParticles.jl b/src/ChargedParticles.jl index 34f4586..d61b413 100644 --- a/src/ChargedParticles.jl +++ b/src/ChargedParticles.jl @@ -2,10 +2,11 @@ module ChargedParticles using Unitful using Mendeleev -using Mendeleev: elements # for PeriodicTable compatibility using Match using Unitful: me, mp +const elements = chem_elements + include("./types.jl") include("./particle.jl") include("./properties.jl")