Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten the nursery when creating large bigints
A bigint takes only very little space in the nursery, but it can hold onto a large buffer. When creating a bigint that's larger than a native, decrease the nursery_alloc_limit if possible. The decreased nursery means a garbage collection will happen sooner, cleaning up any unused bigints and their buffers. An initial stab at MoarVM issue #545 and RT #126450.
- Loading branch information