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
Connection queues and posted message ID collections are now bounded to prevent unlimited memory growth. Default bounds are large enough to not affect deduplication logic, and bounded structures are LRU to keep the most recent messages and connections in memory if the bounds are exceeded.
Changed
General refactors to reduce memory usage across the codebase:
Reducing memory overhead of all classes and objects by using __slots__ where possible.
Maintaining messages queues in deque objects instead of lists, to prevent extra copies of the queues when adding and removing messages.
Refactored image compression logic on the Bluesky connection with early returns and less memory copies.