Skip to content

Commit

Permalink
Fix most warnings and remove some unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed Dec 12, 2023
1 parent 88e65be commit 3933802
Show file tree
Hide file tree
Showing 12 changed files with 122 additions and 506 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ members = [
]

[workspace.dependencies]
lazy_static = "1.4.0"
3 changes: 1 addition & 2 deletions qu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ edition = "2021"


[dependencies]
lazy_static = { workspace = true }

[dev-dependencies]
criterion = "0.4.0"
criterion = "0.5.1"

[features]
qu_panic_upon_error = []
Expand Down
15 changes: 1 addition & 14 deletions qu/benches/vm_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@ use criterion::criterion_group;
use criterion::criterion_main;
use criterion::Criterion;

use qu::Qu;
use qu::QuCompiler;
use qu::QuMsg;
use qu::QuOp;
use qu::QuStackId;


fn speed(c: &mut Criterion) {
let mut qu = Qu::new();

let n1:QuStackId = 0.into();
let nterms:QuStackId = 1.into();
let n2:QuStackId = 2.into();
let count:QuStackId = 3.into();
let zero:QuStackId = 20.into();
fn speed(_c: &mut Criterion) {
}


Expand Down
Loading

0 comments on commit 3933802

Please sign in to comment.