|
If you're saving the data as complex lua data structures, size can start to be a problem as the lua serializer is somewhat slow, but even that doesn't matter if you just serialize the data yourself sometime when the delay isn't incredibly noticable. Other than that, memory used is almost meaningless as a performance statistic -- you're either using enough that you run out, or you aren't, and an addon would have to be storing a disgusting amount of data to make a significant difference. Because of how lua stores strings (strings are immutable, unique and gc'd as if they were objects), storing a complete copy of the combat log could theoretically even improve performance by reducing the time spent in gc.
|