mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-22 11:39:30 +00:00
parent
f998f61d26
commit
d0ca28beca
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ macro_rules! impl_hash_benchmark {
|
||||||
// - The name of the benchmark function
|
// - The name of the benchmark function
|
||||||
// - The input(s) to the hash function for that benchmark function
|
// - The input(s) to the hash function for that benchmark function
|
||||||
$(
|
$(
|
||||||
$fn_name:ident => ($($input:expr),* $(,)?)
|
$fn_name:ident => ($($input:expr_2021),* $(,)?)
|
||||||
),* $(,)?
|
),* $(,)?
|
||||||
}
|
}
|
||||||
)*) => {
|
)*) => {
|
||||||
|
|
|
@ -27,7 +27,7 @@ macro_rules! generate_serde_benchmarks {
|
||||||
(
|
(
|
||||||
$(
|
$(
|
||||||
// The type to test => JSON of that type
|
// The type to test => JSON of that type
|
||||||
$t:ty => $t_example:expr
|
$t:ty => $t_example:expr_2021
|
||||||
),* $(,)?
|
),* $(,)?
|
||||||
) => { paste::paste! {
|
) => { paste::paste! {
|
||||||
// Generate the benchmarking functions.
|
// Generate the benchmarking functions.
|
||||||
|
|
Loading…
Reference in a new issue