3 ms·
Are the immortal objects different than what happens with gc.freeze() ?
by viraptor 4y ago
Are the immortal objects different than what happens with gc.freeze() ?
- SethTro 4y agoModerately different; Particularly with respect to how to performance. If I read this correctly immortal objects stop changing refcount which prevents cache line invalidation while `gc.freeze()` just stops cleaning up objects with zero refcount.
- viraptor 4y agoOh, that would be amazing for quite a few things in web apps if exposed properly. Love it.