• Yorick Peterse's avatar
    Reduce Namespace queries in UserReferenceFilter · 01575e99
    Yorick Peterse authored
    This changes UserReferenceFilter so it operates using the following
    steps:
    
    1. Grab all username references from the input document.
    2. Query the corresponding Namespace objects using a single query.
    3. Iterate over all nodes to build links while re-using the objects
       queried in step 2.
    
    The impact of these changes is that a comment mentioning 5 different
    usernames no longer runs 5 different queries (1 for every username),
    instead it only runs a single query.
    01575e99
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 145 KB