issues
search
tipsy
/
profile-summary-for-github
Tool for visualizing GitHub profiles
https://profile-summary-for-github.com/
Apache License 2.0
19.83k
stars
494
forks
source link
Improve performance and accuracy of new star check approach
#89
Closed
iProdigy
closed
6 years ago
iProdigy
commented
6 years ago
Closes #87.
Incorporates #88 (Cache property lookups for canLoadUser(String))
Lookup usernames in cache in O(1) time by saving lowercase version (rather than O(n) of Iterable#find)
Don't bother with requesting extra pages if we have already cached the username
Don't request full last page if there are no extra watchers on the page
Request all pages since the last grabbed page instead of just the last page (solves a rare edge case now that traffic has lowered)
Don't allocate unneeded lists (some memory gain)
tipsy
commented
6 years ago
Thanks, looks good!
Closes #87.