• Sean McGivern's avatar
    Optimise upload path calls · 79dd92c8
    Sean McGivern authored
    String#underscore isn't particularly slow, but it's possible for us to
    call it many times in a users autocomplete request, with mostly-static
    values ('User', 'Group', etc.). We can memoise this and save a
    surprising amount of time (around 10% of the total request time in some
    cases).
    79dd92c8
make-autocomplete-faster-with-lots-of-results.yml 125 Bytes