Originally Posted by
Bang Guy
http:///forum/post/2990430
The Feds don't allow samples
even a penny off and they get all jumpy (thank you Sarbanes-Oxley)
In this simple example I would probably create daily, monthly, quarterly and annual buckets. The calculation still have to be done but only once and the results saved for the next day.
The trick is building the tools to determine if that actually would be the most efficient. Often the most efficient algorithm is not the obvious choice.
So it would be a matter of how often to count it, then writing a code that would count it most efficiently.
Dang that would have been fun.