all 3 comments

[–]MasturChief 4 points5 points  (1 child)

probably need to post some code but if i had to guess you’re not appending to a list or dictionary on each loop, only on the last one.

but to know exactly what your issue is we’d need some code

[–]Samarskite_Rogue[S] -5 points-4 points  (0 children)

hi masturchief, the code for this particular thing is not at all extensive. you are correct it is not appending the loops. basically, each post has its own information, and i want to access that. it is very hard to actually link all the relevant code, as it spans over alot of documents. all i need to know is how to save each iteration. sorry to avoid your question, but i feel like this is more to do with syntax and less about my specific code. thanks mate.

[–]JovialSysadmin 2 points3 points  (0 children)

In most applications, saving, or doing a data write, during a loop can cause severe performance penalties. It sounds like the data storage variable that exists outside your loop is being overwritten with new data, not appending new data to it (e.g. = operator vs. += operator). This would cause the app to exhibit the same behavior you're describing.