Skip to content

Commit f130e2b

Browse files
committed
Benchmark hash function
1 parent 405c0c7 commit f130e2b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DynamicExpressions"
22
uuid = "a40a106e-89c9-4ca8-8020-a735e8728b6b"
33
authors = ["MilesCranmer <miles.cranmer@gmail.com>"]
4-
version = "0.14.0"
4+
version = "0.14.1"
55

66
[deps]
77
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

benchmark/benchmarks.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function benchmark_utilities()
107107
:get_set_constants!,
108108
:index_constants,
109109
:string_tree,
110+
:hash,
110111
)
111112
has_both_modes = [:copy, :convert]
112113
if PACKAGE_VERSION >= v"0.14.0"
@@ -122,6 +123,14 @@ function benchmark_utilities()
122123
],
123124
)
124125
end
126+
if PACKAGE_VERSION >= v"0.14.1"
127+
append!(
128+
has_both_modes,
129+
[
130+
:hash
131+
]
132+
)
133+
end
125134

126135
operators = OperatorEnum(; binary_operators=[+, -, /, *], unary_operators=[cos, exp])
127136
for func_k in all_funcs

0 commit comments

Comments
 (0)