feat: more plugin entity stuff
This commit is contained in:
1 parent
3d69190a37
commit
800f7d70e5
68 files changed
+4366
-1700
No files matched your search
@@ -73,11 +73,8 @@ fn bench_chunk_deserialization(c: &mut Criterion) {
|
||||
let Chunk::Level(chunk) = chunk else {
|
||||
panic!("full generation must return a level chunk");
|
||||
};
|
||||
let runtime = tokio::runtime::Builder::new_current_thread()
|
||||
.build()
|
||||
.expect("failed to create benchmark runtime");
|
||||
let bytes = runtime
|
||||
.block_on(chunk.to_bytes())
|
||||
let bytes = chunk
|
||||
.to_bytes()
|
||||
.expect("failed to serialize benchmark chunk");
|
||||
let position = Vector2::new(chunk.x, chunk.z);
|
||||
|
||||
|
||||
Reference in new issue
Block a user