Closed lilcorey closed 1 year ago
https://github.com/fiatjaf/noscl/blob/d78a899192048de6d48310a54c57727aa758dfe1/config.go#L8
Any pubkey should be followed once max. Also, updating the Follow list to a map will help performance when unfollowing O(n) -> O(1)
O(n) -> O(1)
https://github.com/fiatjaf/noscl/blob/570241b2c3c583d8f0c5c09bc34d4cd3848a7cdd/profile.go#L54-L60
https://github.com/fiatjaf/noscl/blob/d78a899192048de6d48310a54c57727aa758dfe1/config.go#L8
Any pubkey should be followed once max. Also, updating the Follow list to a map will help performance when unfollowing
O(n) -> O(1)
https://github.com/fiatjaf/noscl/blob/570241b2c3c583d8f0c5c09bc34d4cd3848a7cdd/profile.go#L54-L60