You don't need to read all changelogs, one can simply check if the page files themselves have been modified since ``$lastupdate`` which should be a lot faster (i.e. just a ``search``-call with a filter on the modification date of the files). Then the changelogs of the pages that were found should be checked as the edits could be external.