3 ms·
We don't have the case of integer div. And if you take a look into the coolsize() func we don't re-compute the factor. So it's not very significant. To get the
by apjana 9y ago
We don't have the case of integer div. And if you take a look into the coolsize() func we don't re-compute the factor. So it's not very significant.
To get the size of a file we multiply only once with this factor.
What is significant is the while() loop where the iterations increase with the file size. There's no mul or div in it giving the API a reasonable performance benefit.