3 ms·
I wanted to put over a billion floats in a numpy array just a few months ago. Making them 16-bit saved a lot of memory. It doesn't matter how much resource lim
by duckerude 8y ago
I wanted to put over a billion floats in a numpy array just a few months ago. Making them 16-bit saved a lot of memory.
It doesn't matter how much resource limits increase, people are going to keep hitting them. And when they hit them, using a smaller data type will always help.