currently I am writing to a file a list, that is then parsed each time the page is loaded to get the most recent 25 entries and then 25 more in for each page.
problem is as you go further into the pages, the load on the server is greater because to find the items for that page I have to start start from the start of the list and loop through X times to eliminate the pages before the current one.
basically it would be eliminating this macro, because with an array I can just use a for loop directly on the values I am after. {{if|{{or|{{{{?p}}=1}}|{{not|{{?p}}}}}}||{{\{{for|B|1|{{sub|{{mul|{{^topic-limit}}|{{?p}}}}|25}}|{{\{{set|topic-order|{{cut|{{add|{{length|{{substring||;|{{^topic-order}}}}}}|2}}||{{^topic-order}}}}}}/}}/for}}/}}/if}}
the list is written like 1;2;3;4;5;... etc
on a side note I first tried that macro using if not but it had trouble with the quoting of the commands to execute.
I hope that made sense