libexpr: Reduce nonRecursiveStackReservation

128 is still beyond the point where the allocation overhead is
insignificant, but we don't anticipate to overflow for these
use cases, so it's fine.
This commit is contained in:
Robert Hensing 2023-11-16 13:23:17 +01:00
parent a96be29db5
commit 4e27f1947a

View File

@ -14,7 +14,7 @@ namespace nix {
*
* Note: this is expected to be multiplied by sizeof(Value), or about 24 bytes.
*/
constexpr size_t nonRecursiveStackReservation = 256;
constexpr size_t nonRecursiveStackReservation = 128;
/**
* Functions that maybe applied to self-similar inputs, such as concatMap on a