CKylinMC / UserJS

UserScripts by CKylinMC. Check out my Greasyfork page for more details.
https://greasyfork.org/zh-CN/scripts?filter_locale=0&language=all&set=403506
GNU General Public License v3.0
69 stars 4 forks source link

perf(unfollow): :zap: Cache generated infoline element items to speed… #52

Closed CKylinMC closed 2 years ago

CKylinMC commented 2 years ago

… up list-render operation.

Now items in the main info list will now be saved in dom mappings on first load. When re render the list, them will be used to regenerate the whold list instead of recreate all info item element. Some features like sort will now be 2 times faster, especially when the items count more then 1k.