Added benchmarks to find the most appropriate data structure

This commit is contained in:
2023-09-16 09:28:05 +02:00
parent 9bb2f4c20d
commit 2d22de28b9
3 changed files with 45 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
#[derive(PartialEq, Clone, Copy, Debug)]
struct Voxel {
r: u8,
g: u8,
b: u8
r: u8, g: u8, b: u8
}
const AIR_VOXEL: Voxel = Voxel { r: 0, g: 0, b: 0 };