object allocation

4 moment(s) that assert this concept — showing 1–4 of 4

moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] PyCon[2] PyCon[3] LiveOverflow[4] LiveOverflow
showing 4 of 4 moments
PyCon 2017 · youtube · en-US
1CPython uses a fine-tuned allocation cutoff point under 256 bytes for most objects, which is very fast and critical to performance.
“objects which is like under 256 bytes or”
spoken · 207s · 2017-05-20
PyCon 2017 · youtube · en-US
2Adding locks to CPython's object allocation and free list mechanisms significantly slows down performance.
“adding locking to that in order to make it has slowed it down a great deal”
spoken · 221s · 2017-05-20
LiveOverflow · youtube · en
3Repeatedly allocating and deallocating many JavaScript objects forces the garbage collector to run and free memory that was previously referenced.
“To force the garbage collector to kick in right now, we can use the function which just allocates and removes a lot of objects. And when you do this a couple of times you can be fairly certain that the garbage collector did the work.”
spoken · 436s · 2017-03-13
LiveOverflow · youtube · en
4The stale property of an object points to a previously allocated array memory, and despite being set to null, the reference persists due to an internal failure in property checking.
“Theoretically the stale property was set to null, and should not be accessible. But somehow the reference is still there.”
spoken · 523s · 2017-03-13