UnigramDev/Unigram/temp • ea40fcc • 1 files, +36/-13 Keep the log tail in a ring buffer (#3332) Thre

Telegram github commits and releases

Telegram github commits and releases

@tgappsupdates

Broadcast from the most important Telegram clients' repositories

4 538 підписників
Відкрити в Telegram
UnigramDev/Unigram/tempea40fcc1 files, +36/-13
Keep the log tail in a ring buffer (#3332)

Three things were wrong with the window that ships in every crash report.

It was a List trimmed with RemoveAt(0), so once full every log call copied all
retained entries down one slot. Logging happens on hot paths; this is now an
overwrite of one slot.

Dump stored its "Bump" marker as an entry, so taking a dump evicted a real line
and a second dump left the first marker behind. It is appended to the output
instead, and Dump no longer mutates anything.

The size was an inline 50, which is under a second of ordinary logging. It is
now a named constant at 200.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

UnigramDev/Unigram/tempda46bee1 files, +1/-0
Add todo note

UnigramDev/Unigram/temp066672a1 files, +10/-4
Optimize hashset pop

UnigramDev/Unigram/temp320dce97 files, +127/-8
Experimental bubble content recycling

UnigramDev/Unigram/tempd642d862 files, +10/-0
Clear text block pool on navigate

UnigramDev/Unigram/tempe7ffacf8 files, +113/-57
Improve recycling for some contents

UnigramDev/Unigram/temp99d1e141 files, +255/-0
Started to work on WebRTC issues

UnigramDev/Unigram/tempc71aa982 files, +0/-3
Code cleanup

UnigramDev/Unigram/temp74469722 files, +0/-0
Update tlottie to latest dev

UnigramDev/Unigram/temp9090b241 files, +4/-4
Update webrtc todo

UnigramDev/Unigram/tempc533f042 files, +2/-2
Bump version to 12.9.1

#unigram
Відкрити пост в Telegram