Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Small question, why did the following order get changed?
- PumpkinTalks
-
Scratcher
87 posts
Small question, why did the following order get changed?
So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.
- han614698
-
Scratcher
1000+ posts
Small question, why did the following order get changed?
Yes. It’s to reduce lag. You can find more info here: https://scratch.mit.edu/discuss/topic/787277/
- warbling_gerbil
-
Scratcher
100+ posts
Small question, why did the following order get changed?
So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
- Scratch137
-
Scratcher
1000+ posts
Small question, why did the following order get changed?
(#3)Interestingly, the “Followers” and “Following” lists are actually in two different orders.So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
The “Followers” list is sorted by follow date, and the “Following” list is sorted by account age, both in descending order.
- warbling_gerbil
-
Scratcher
100+ posts
Small question, why did the following order get changed?
Huh. Interesting. You would think they'd just be the same.(#3)Interestingly, the “Followers” and “Following” lists are actually in two different orders.So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
The “Followers” list is sorted by follow date, and the “Following” list is sorted by account age, both in descending order.
- cookieowl10
-
Scratcher
55 posts
Small question, why did the following order get changed?
how does it reduce lag just wondering :>
- CST1229
-
Scratcher
1000+ posts
Small question, why did the following order get changed?
(#6)sorting followers from latest to oldest requires the database to sort the followers list, which is slower than not sorting it (which results in a reversed oldest to latest order for followers, and an account id order for following).
how does it reduce lag just wondering :>
- warbling_gerbil
-
Scratcher
100+ posts
Small question, why did the following order get changed?
Wait a minute - the order of followers is still most recent to oldest even though it's oldest to most recent in the preview! That's weird. And mildly bothers me. Why wouldn't they have both been changed at the same time?
- Scratch137
-
Scratcher
1000+ posts
Small question, why did the following order get changed?
(#8)The order on the profile pages was changed to reduce the amount of work the server has to do to display a profile.
Wait a minute - the order of followers is still most recent to oldest even though it's oldest to most recent in the preview! That's weird. And mildly bothers me. Why wouldn't they have both been changed at the same time?
The Scratch API does not return follower/following lists in reverse chronological order, which meant that the lists were having to be re-sorted every single time someone wanted to view a profile.
Now, the lists are displayed exactly as the API returns them, which reduces the server's workload and improves performance.
As for the full lists, these were probably left as-is because they are accessed much less frequently. The servers don't take nearly as big of a hit from this.
- Discussion Forums
- » Questions about Scratch
-
» Small question, why did the following order get changed?