Improving portability advice
Improving portability advice
Posted Jun 9, 2019 11:53 UTC (Sun) by mirabilos (subscriber, #84359)In reply to: Improving portability advice by marcH
Parent article: Detecting and handling split locks
Yes! I’ve significantly reduced the in-memory size of several structures (which are then used in arrays, which pads them to powers of 2 at the end too, so going down from 36 to 32 actually reduces from 64 to 32) in some codebasēs.
Posted Jun 9, 2019 18:44 UTC (Sun)
by itvirta (guest, #49997)
[Link] (3 responses)
Posted Jun 10, 2019 13:17 UTC (Mon)
by bcopeland (subscriber, #51750)
[Link] (2 responses)
Posted Jun 11, 2019 13:26 UTC (Tue)
by k8to (guest, #15413)
[Link]
On Linux my memory is a bit muddied between the default glibc allocator, tcmalloc, jemalloc etc. so I'm less confident, but I would expect the same.
Posted Jun 11, 2019 15:02 UTC (Tue)
by fotoba (subscriber, #61150)
[Link]
This problem will not happend as I read well waht happend
Improving portability advice
Improving portability advice
Improving portability advice
Improving portability advice
not near or not specified
https://www.geeksforgeeks.org/what-are-near-far-and-huge-...