4 ms·
I haven't read the article but as I understand python will hold on to acquired memory and pre-allocates 'blocks' of memory ready for items of various sizes. Whe
by callamdelaney 6y ago
I haven't read the article but as I understand python will hold on to acquired memory and pre-allocates 'blocks' of memory ready for items of various sizes. When you use more memory and it's freed iirc it holds on to most of these blocks.