返回题库

Quant Interview Practice Questions

专题
memory_optimization
难度
L4
来源
MyntBit

题目详情

High-frequency trading systems require deterministic, ultra-low latency memory management to avoid unpredictable latency spikes caused by memory fragmentation. A compacting allocator addresses this by maintaining objects in contiguous memory blocks and relocating them to eliminate gaps, ensuring optimal cache locality. This technique uses handle indirection so references remain valid after relocation, a critical pattern in performance-sensitive quantitative finance applications. Task Implement