diff options
| author | mat <git@matdoes.dev> | 2024-04-20 04:03:03 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-04-20 04:03:03 +0000 |
| commit | 8a1e1b7bb93373e85432ce4211b6ede4eae79409 (patch) | |
| tree | c2803f0a1a6c22c0e4ab0f123f662f817ed7aaff /azalea | |
| parent | 6d9d1a456951ae321089343a91d15bfa9f3087d7 (diff) | |
| download | azalea-drasl-8a1e1b7bb93373e85432ce4211b6ede4eae79409.tar.xz | |
clippy
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/benches/physics.rs | 14 |
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 { |
