Trait rlsf::GlobalTlsfOptions[][src]

pub trait GlobalTlsfOptions {
    const ENABLE_REALLOCATION: bool;
    const COALESCE_POOLS: bool;
}
This is supported on WebAssembly and non-target feature atomics, or Unix only.
Expand description

The options for GlobalTlsf.

Associated Constants

const ENABLE_REALLOCATION: bool[src]

Enables the specialized reallocation routine. This option might improve the memory usage and runtime performance but increases the code size considerably.

It’s enabled by default.

const COALESCE_POOLS: bool[src]

Instructs the allocator to coalesce consecutive system memory allocations into one large memory pool whenever possible.

Warning: If you are going to create allocations larger than or roughly as large as the system page size, turning off this option can cause an excessive memory usage.

It’s enabled by default.

Implementations on Foreign Types

impl GlobalTlsfOptions for ()[src]

Implementors