4 ms·
It also depends on your algorithms. Some algorithms are amenable to "running tallies," so a third possible approach would be to store and update various values
by carbocation 16y ago
It also depends on your algorithms. Some algorithms are amenable to "running tallies," so a third possible approach would be to store and update various values based only on the aggregate past data plus the incremental data, instead of looking back through the entire history and recomputing when a new piece of data comes in. This of course depends on whether or not this is even theoretically possible with what you're computing.
- jorgeortiz85 16y agoThis is probably feasible for some badges, but would be hard to do for all of them. This approach also increases the complexity of adding new badges, which is undesirable for product and business reasons. It could certainly help in some case though, and it's something we're considering.