Increase internal caches size

This commit is contained in:
Alex Orlenko 2022-03-31 00:07:05 +01:00
parent 4492a20bbc
commit 516f01ed44
No known key found for this signature in database
GPG key ID: 4C150C250863B96D

View file

@ -212,8 +212,8 @@ impl LuaOptions {
pub(crate) static ASYNC_POLL_PENDING: u8 = 0;
pub(crate) static EXTRA_REGISTRY_KEY: u8 = 0;
const WRAPPED_FAILURES_CACHE_SIZE: usize = 16;
const MULTIVALUE_CACHE_SIZE: usize = 16;
const WRAPPED_FAILURES_CACHE_SIZE: usize = 32;
const MULTIVALUE_CACHE_SIZE: usize = 32;
/// Requires `feature = "send"`
#[cfg(feature = "send")]