zetok / tox

toxcore implementation in Rust. Codename zetox.

Home Page:https://zetok.github.io/tox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

O(n) -> O(1) for links in relay server clients

kpp opened this issue · comments

commented

src/toxcore/tcp/server/client.rs Client::links. To check whether 2 clients are linked together we use O(n) algo.

Do we really need to change the algo? Or should we keep it?