3 ms·The number n has log(n)/log(10) digits so it technically take log(n) time to read it.by asdfaoeu 14y agoThe number n has log(n)/log(10) digits so it technically take log(n) time to read it.fyi80 14y agoonly if log(n) > 7. Otherwise, subitization gives constant time reading of the magnitude of n.tripzilch 14y agoTechnically, O(log(n) <= 7 ? 1 : log(n)) is still O(log(n)) ... :)