All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Global allocator?

Definition 9.4 Low-Latency Software · Chapter 9 — Rust for Low Latency

The global allocator of a Rust program is the allocator behind Box, Vec, String and every standard collection; a program can replace it with any type implementing GlobalAlloc, declared with #[global_allocator], for example one that counts allocations in tests.

Read in context →