mirror of
https://github.com/azalea-rs/simdnbt.git
synced 2025-08-02 07:26:04 +00:00
add comment for min alloc size
This commit is contained in:
parent
927df9b33b
commit
4aa3effbf1
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ use crate::Mutf8Str;
|
||||||
|
|
||||||
use super::{NbtCompound, NbtList, NbtTag};
|
use super::{NbtCompound, NbtList, NbtTag};
|
||||||
|
|
||||||
|
// this value appears to have the best results on my pc when testing with complex_player.dat
|
||||||
const MIN_ALLOC_SIZE: usize = 1024;
|
const MIN_ALLOC_SIZE: usize = 1024;
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue