]> Sergey Matveev's repositories - btrtrc.git/commit
Avoid allocating memory when checking interface (#588)
authorYenForYang <YenForYang@users.noreply.github.com>
Fri, 10 Sep 2021 22:26:43 +0000 (17:26 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Sep 2021 22:26:43 +0000 (08:26 +1000)
commitd957502528e08841819624f8e47786cf1abdf1cd
tree94c19099345d7dbec87065f9b8cc1551cb719926
parent6c9a7fec39f4e71abbc99a04e3237a5c7bfc039e
Avoid allocating memory when checking interface (#588)

Not a big deal, but there isn't a need to allocate an object to check that `*Node` satisfies `bencode.Unmarshaler`.
metainfo/nodes.go