You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be more efficient to use alphabetical lists for the large lists in emoji.gs (possibly leading to 2 sets of 2 lists) so that you can use a binary search, because scratch '<' operator works with alphabetical (unicode index) order
the existing emoji list might already be in order of emoji, but there is no set that uses a sort of emoji names
dealing with comparions between strings in scratch is an annoying nuanced thing because scratch converts strings to lowercase before they are compared. this means that simple binary search simply does not work. If it's emoji-only (and not full unicode), this is feasible, but it would need to be benchmarked against the builtin item in list block
Activity
aspizu commentedon Apr 12, 2025
goboscript repository has the js script that generated the emoji.gs file
faretek1 commentedon Mar 5, 2026
dealing with comparions between strings in scratch is an annoying nuanced thing because scratch converts strings to lowercase before they are compared. this means that simple binary search simply does not work. If it's emoji-only (and not full unicode), this is feasible, but it would need to be benchmarked against the builtin
item in listblock