Estimating sketch size

If you are working with large arrays and so on -- yes -- to that extent.

Otherwise you have to do what I do -- I compile the code before I write it. That way I don't have to guess.