From e3d3e9ab5791bde0d652a94741ed422fc46a2613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 7 Apr 2020 15:40:52 +0200 Subject: [PATCH] Update TODO --- TODO.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 42d059d..1fb8907 100644 --- a/TODO.md +++ b/TODO.md @@ -15,7 +15,19 @@ * Performance * cpu-target=native good? * mialloc good? -* Track bytes transferred? + * use DashMap readable view when accessing torrent stats and possibly + also after modification of announcing peer and during collection + of response peers +* Statistics + * Print stats for number of peers per torrent (median, 95th, 99th + percentile.) Use histogram crate? +* bittorrent_udp + * ParseError enum maybe, with `Option` + * Avoid allocating in conversion to bytes, send in a mutable buffer + instead, which is reused over requests + * Avoid heap allocation in general if it can be avoided? + * quickcheck tests for conversions + * other unit tests? ## Don't do