From 4721fa310920747a80fead3f79ff1e5936e059e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Wed, 8 Apr 2020 10:23:59 +0200 Subject: [PATCH] Update TODO --- TODO.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TODO.md b/TODO.md index 607780c..ad43b06 100644 --- a/TODO.md +++ b/TODO.md @@ -12,14 +12,19 @@ * ProgressBar: `[{elapsed_precise}]` and eta_precise? * Test server over udp socket instead? * Run multiple threads to test performance when contested? + * Iterate over whole returned buffer and run e.g. xor on it (.iter().fold()) + * Generic bench function since current functions are almost identical * Performance * cpu-target=native good? * mialloc good? + * Use less bytes from PeerId for hashing? Would need to implement + "faulty" PartialEq too. * bittorrent_udp * ParseError enum maybe, with `Option` * Avoid heap allocation in general if it can be avoided? * quickcheck tests for conversions * other unit tests? +* Socket errors could be handled better (don't print only error kind) ## Don't do