2 ms·
Does that also imply that a small integer is created on the heap? I would think the heap allocation would be the huge performance killer.
by CyberDildonics 12y ago
Does that also imply that a small integer is created on the heap? I would think the heap allocation would be the huge performance killer.
- plikan13 12y agoPython is not going to call malloc(..) for every single object that you create. It will allocate a block of same-sized objects and maintain a linked list of free slots.