feat: initial parallel impl

This commit is contained in:
2025-06-08 17:27:43 +08:00
parent 3797544fc2
commit 7293cb9f75
18 changed files with 529 additions and 934 deletions

View File

@@ -2,7 +2,7 @@
extern crate test;
use hashbrown::HashMap;
use std::collections::BTreeMap;
use test::{Bencher, black_box};
@@ -23,12 +23,7 @@ fn test_expr(expr: &str, expected: Value) {
macro_rules! map {
($($k:expr => $v:expr),*) => {
{
#[allow(unused_mut)]
let mut m = HashMap::new();
$(
m.insert($k, $v);
)*
m
BTreeMap::from([$(($k, $v),)*])
}
};
}