Jose Baars wrote:
> Maybe consider changing the linked list in a pre allocated array
> where the index has a direct relation to the sequence number
..
> It will use a bit more memory, but a lot less CPU,
It's a solid optimization in many cases, but the impact obviously
depends on list length. I guess we don't have many enough packets
on that list in libssh2 for the list itself to be a problem, or..?
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-14