mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-12-13 15:49:47 +08:00
std::function is allowed to heap allocate if the size of the captures associated with each lambda exceed a certain threshold. This prevents potentially unnecessary reallocations from occurring.