UnigramDev/Unigram/temp • ea40fcc • 1 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/temp • da46bee • 1 files, +1/-0
Add todo note
UnigramDev/Unigram/temp • 066672a • 1 files, +10/-4
Optimize hashset pop
UnigramDev/Unigram/temp • 320dce9 • 7 files, +127/-8
Experimental bubble content recycling
UnigramDev/Unigram/temp • d642d86 • 2 files, +10/-0
Clear text block pool on navigate
UnigramDev/Unigram/temp • e7ffacf • 8 files, +113/-57
Improve recycling for some contents
UnigramDev/Unigram/temp • 99d1e14 • 1 files, +255/-0
Started to work on WebRTC issues
UnigramDev/Unigram/temp • c71aa98 • 2 files, +0/-3
Code cleanup
UnigramDev/Unigram/temp • 7446972 • 2 files, +0/-0
Update tlottie to latest dev
UnigramDev/Unigram/temp • 9090b24 • 1 files, +4/-4
Update webrtc todo
UnigramDev/Unigram/temp • c533f04 • 2 files, +2/-2
Bump version to 12.9.1
#unigram
UnigramDev/Unigram/temp • ea40fcc • 1 files, +36/-13 Keep the log tail in a ring buffer (#3332) Thre
Telegram github commits and releases
@tgappsupdatesBroadcast from the most important Telegram clients' repositories
4 538 підписників
Відкрити в Telegram