GIL-Removal Project Takes Another Step (Posting On Python-List Prohibited)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 20 03:29:30 EDT 2024


On 20/03/24 4:14 pm, Lawrence D'Oliveiro wrote:
> not to
> mention the latency when there isn’t quite enough memory for an allocation
> and you have to wait until the next GC run to proceed. Run the GC a
> thousand times a second, and the latency is still 1 millisecond.

That's not the way it usually works. If you run out of memory, you
run a GC there and then. You don't have to wait for GCs to occur on
a time schedule.

Also, as a previous poster pointed out, GCs are typically scheduled
by number of allocations, not by time.

-- 
Greg


More information about the Python-list mailing list