Yat Ho
|
8a339367a3
|
Merge 8ba20d3736 into 821a6816ef
|
2024-04-22 05:22:12 +00:00 |
Yat Ho
|
8ba20d3736
|
fix: remove constexpr
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
8e4e1877e1
|
refactor: use `small::map`
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
d440579459
|
fix: suppress goto warning
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
af073bd51f
|
refactor: use small maps but with `std::vector` as base
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
7b4b18f841
|
fix: use `std::unordered_map` as a stand-in for `small::map`
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
225fe4d5ee
|
refactor: unify `on_got_port()` exit point to simplify cleanup
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
54c94937ac
|
refactor: minimise insert/erase operations to the peer info pool
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
940e17312c
|
refactor: store peer info objects in shared_ptr
|
2024-04-19 10:51:55 +08:00 |
Yat Ho
|
44713517f2
|
chore: housekeeping
|
2024-04-19 10:51:55 +08:00 |