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
fix(chat): stop sizing probes from freezing the chat feed
Opening a busy channel could block the main thread for minutes: stack
layout probes every row at several candidate widths, the probes multiply
through the nested stacks, and each probe re-rendered the live NSTextView
and hashed the whole message for its cache lookups. With 180 mounted
rows that one layout pass never finished.
A sizing probe is now pure and O(1) on repeat: it never touches the live
text view (the view renders once, in setFrameSize, at the width that
won), and each view memoises its built text and measured size per
rounded width, so a probe is a small dictionary hit instead of a
full-text hash through the global caches.
Claude-Session: https://claude.ai/code/session_01PKetCunJwQPgV9SHoJ3i5q
0 commit comments