aboutsummaryrefslogtreecommitdiff
path: root/azalea
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-04-20 04:03:03 +0000
committermat <git@matdoes.dev>2024-04-20 04:03:03 +0000
commit8a1e1b7bb93373e85432ce4211b6ede4eae79409 (patch)
treec2803f0a1a6c22c0e4ab0f123f662f817ed7aaff /azalea
parent6d9d1a456951ae321089343a91d15bfa9f3087d7 (diff)
downloadazalea-drasl-8a1e1b7bb93373e85432ce4211b6ede4eae79409.tar.xz
clippy
Diffstat (limited to 'azalea')
-rw-r--r--azalea/benches/physics.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/azalea/benches/physics.rs b/azalea/benches/physics.rs
index 0d4a3f2f..146b3018 100644
--- a/azalea/benches/physics.rs
+++ b/azalea/benches/physics.rs
@@ -1,20 +1,10 @@
-use std::{hint::black_box, sync::Arc, time::Duration};
-
use azalea::{
- pathfinder::{
- astar::{self, a_star},
- goals::{BlockPosGoal, Goal},
- mining::MiningCache,
- simulation::{SimulatedPlayerBundle, Simulation, SimulationSet},
- world::CachedWorld,
- },
- BlockPos, Vec3,
+ pathfinder::simulation::{SimulatedPlayerBundle, SimulationSet},
+ Vec3,
};
use azalea_core::position::{ChunkBlockPos, ChunkPos};
-use azalea_inventory::Menu;
use azalea_world::{Chunk, ChunkStorage, PartialChunkStorage};
use criterion::{criterion_group, criterion_main, Bencher, Criterion};
-use parking_lot::RwLock;
#[allow(dead_code)]
fn generate_world(partial_chunks: &mut PartialChunkStorage, size: u32) -> ChunkStorage {