Closed virophagesp closed 6 months ago
how do i check the boxes
nevermind i figured it out
@ThioJoe this is ready to be checked
Isn't this made redundant by line 744?
not exactly, line 744 prevents it going through if it never had the @ symbol in the first place line 749 modifies the original commentText variable allThreadAuthorNames can be very long usually there is only a single @ username when commentText gets modified to no longer have any @'s my code breaks out of the loop
I am going to benchmark the code and find how much of an improvement it is
so turns out it is less than 0.05% in most cases I did the original benchmark wrong I'm gonna close this now
the order of the list it is iterating over does not matter
Why is this change needed: it reduces latency for reply scanning
Additional Info: the for loop doesnt require a proper order
Checklist: