Skip to content

Commit 1074b55

Browse files
committed
Update changelog with event loop performance optimizations
1 parent 977f1a6 commit 1074b55

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
- New documentation: `docs/asyncio.md`
3232
- Updated `docs/getting-started.md` with link to asyncio documentation
3333

34+
### Performance
35+
36+
- **Event loop optimizations**
37+
- Fixed `run_until_complete` callback removal bug (was using two different lambda references)
38+
- Cached `ast.literal_eval` lookup at module initialization (avoids import per callback)
39+
- O(1) timer cancellation via handle-to-callback_id reverse map (was O(n) iteration)
40+
- Detach pending queue under mutex, build Erlang terms outside lock (reduced contention)
41+
- O(1) duplicate event detection using hash set (was O(n) linear scan)
42+
- Added `PERF_BUILD` cmake option for aggressive optimizations (-O3, LTO, -march=native)
43+
3444
## 1.3.2 (2026-02-17)
3545

3646
### Fixed

0 commit comments

Comments
 (0)