Arvid Norberg

Results 1037 comments of Arvid Norberg

you probably want to set the `mixed_mode_algorithm` (https://libtorrent.org/reference-Settings.html#mixed_mode_algorithm) to `prefer_tcp`.

it looks suspicious.

when `m_mode` is `mode_t::piece_layer`, `m_tree` only contains the piece layer`, and `m_tree.size()` is the number of pieces. when `m_node` is `mode_t::block_layer`, `m_tree` only contains the block layer (i.e. the 16kiB...

libtorrent builds on Android and iOS. You would need to interface with it via C++ though, most likely

I don't expect that checking amount being odd is important. That's not going to bring a material speed-up (if one at a ll), right?

perhaps I jumped the gun; but it would be nice to have some rationale in the description. did you measure any difference?

the explanation is missing. There's a long list of "normal block". what's that? Please explain how you come to the conclusion that there's a memory leak. Also please describe how...

And do you know what adding that code does and how to interpret the output? Since you posted this, I'd prefer you do that research to understand whether this is...