[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [ea40fcc](https://github.com/UnigramDev/Unigram/commit/ea40fcc04b92a49dc02f7e4342b1a1af72a8951a) • _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](https://github.com/UnigramDev/Unigram/tree/temp) • [da46bee](https://github.com/UnigramDev/Unigram/commit/da46beecccfae13ab6e4b1438ee4618ff14c7133) • _1 files, +1/-0_
Add todo note

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [066672a](https://github.com/UnigramDev/Unigram/commit/066672ab8d926ffe185d0ee3ee22871fe0ad0ac8) • _1 files, +10/-4_
Optimize hashset pop

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [320dce9](https://github.com/UnigramDev/Unigram/commit/320dce949cd38c069fc029475c67c7ce2ca7b608) • _7 files, +127/-8_
Experimental bubble content recycling

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [d642d86](https://github.com/UnigramDev/Unigram/commit/d642d8631c4e1a52ad75a4e35d6e7c183b0b5c54) • _2 files, +10/-0_
Clear text block pool on navigate

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [e7ffacf](https://github.com/UnigramDev/Unigram/commit/e7ffacf219a62942648f9fb6bbeee7f740c38d74) • _8 files, +113/-57_
Improve recycling for some contents

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [99d1e14](https://github.com/UnigramDev/Unigram/commit/99d1e1492b5645d11a36ccf48188695a331c2b3c) • _1 files, +255/-0_
Started to work on WebRTC issues

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [c71aa98](https://github.com/UnigramDev/Unigram/commit/c71aa987c1988fc192bbb9f45db439e1d88d7478) • _2 files, +0/-3_
Code cleanup

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [7446972](https://github.com/UnigramDev/Unigram/commit/7446972780233ae1cc185e9ff7cdbb83b7006a45) • _2 files, +0/-0_
Update tlottie to latest dev

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [9090b24](https://github.com/UnigramDev/Unigram/commit/9090b24f142ac7a7099769fe5e97478ee24f6864) • _1 files, +4/-4_
Update webrtc todo

[UnigramDev/Unigram/temp](https://github.com/UnigramDev/Unigram/tree/temp) • [c533f04](https://github.com/UnigramDev/Unigram/commit/c533f04c0a34e9a9b60a684705131093de185711) • _2 files, +2/-2_
Bump version to 12.9.1

[#unigram](?q=%23unigram)