notable near 2x speedup in load time, and near 3x reduction in memory consumption

This commit is contained in:
Yehowshua Immanuel 2022-08-11 19:58:21 -04:00
parent def4b26005
commit fd31ec1358
4 changed files with 15 additions and 53 deletions

View file

@ -21,9 +21,11 @@ fn main() -> std::io::Result<()> {
let file = File::open(&args.path)?;
let vcd = parse_vcd(file).unwrap();
// vcd.
let elapsed = now.elapsed();
println!("Elapsed: {:.2?}", elapsed);
std::thread::sleep(std::time::Duration::from_secs(10));
Ok(())
}