Python Memory Manager

MartinRinehart at gmail.com MartinRinehart at gmail.com
Mon Feb 18 22:13:33 CET 2008



Paul Rubin wrote:
> The problem here is with a high allocation rate, you have to GC a lot
> more often, which typically involves copying live data.

This is last century's issue. Copying data, RAM to RAM, is nearly free
using the Intel architecture.

This short article, http://www.martinrinehart.com/articles/repz.html
explains why.

I'd use one int per clock as a rule of thumb for the current copy rate
in a single-core CPU.



More information about the Python-list mailing list