Skip to content

perf(emoji): drop unused fields from emoji.json - #1259

Open
jasp-nerd wants to merge 2 commits into
SevenTV:masterfrom
jasp-nerd:perf/slim-emoji-json
Open

perf(emoji): drop unused fields from emoji.json#1259
jasp-nerd wants to merge 2 commits into
SevenTV:masterfrom
jasp-nerd:perf/slim-emoji-json

Conversation

@jasp-nerd

@jasp-nerd jasp-nerd commented Aug 10, 2026

Copy link
Copy Markdown

Proposed changes

category and subgroup in emoji.json are never read; group covers the emote set grouping and the tooltip. Dropping them cuts the file from 623KB to 388KB and shrinks the parsed list every chat tab keeps in memory. Built and typechecked against master.

Types of changes

What types of changes does your code introduce to 7TV?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged

category and subgroup are never read; group covers the emote set grouping
and the tooltip. Cuts emoji.json from 623KB to 388KB and shrinks the
parsed list held in memory by every chat tab.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant