frosty/lib/models
Tommy Chow 57e7f73aa8 perf(chat): cut per-flush rebuild and decode costs in message list
every 200ms flush shifted all sliver indices (reverse list), and the
per-row ObjectKeys without findChildIndexCallback made the framework
deactivate and re-inflate every built row instead of moving it. add the
callback so elements move, and cache ChatMessage widget instances per
message (Expando) so unchanged rows skip build() entirely via the
identical-widget short-circuit. IRCMessage.renderRevision invalidates
rows the CLEARCHAT/CLEARMSG handlers mutate in place.

also decode emotes/badges at display size (memCacheHeight = logical
size x devicePixelRatio) instead of the CDN's 3x-4x intrinsic size:
several-fold less image memory and raster cost, animation preserved
(ResizeImage applies the target size to the whole codec).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 14:45:20 -04:00
..
badges.dart v5 (#463) 2026-01-01 22:28:17 -05:00
badges.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
category.dart v5 (#463) 2026-01-01 22:28:17 -05:00
category.g.dart Tweak stream card weights & tap category (#91) 2022-03-25 21:23:14 -04:00
channel.dart v5 (#463) 2026-01-01 22:28:17 -05:00
channel.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
chatters.dart v5 (#463) 2026-01-01 22:28:17 -05:00
chatters.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
emotes.dart v5 (#463) 2026-01-01 22:28:17 -05:00
emotes.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
events.dart v5 (#463) 2026-01-01 22:28:17 -05:00
events.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
followed_channel.dart v5 (#463) 2026-01-01 22:28:17 -05:00
followed_channel.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
irc.dart perf(chat): cut per-flush rebuild and decode costs in message list 2026-07-03 14:45:20 -04:00
playback_access_token.dart feat(video,chat): native player, ad-break awareness, chat send/delay reliability, and tab redesign (#567) 2026-06-13 17:06:24 -04:00
shared_chat_session.dart add shared chat session support (#424) 2024-12-23 16:05:07 -05:00
shared_chat_session.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
stream.dart v5 (#463) 2026-01-01 22:28:17 -05:00
stream.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00
user.dart v5 (#463) 2026-01-01 22:28:17 -05:00
user.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00