On 01/19/16 20:26, Adrian Chadd wrote:
Well, why are you using qsort to do it, rather than walking the list
of streams and inputting all the mbufs per stream?

That's an O(1) operation.


Because you don't know when the stream ends and then you'll need to pass the list one time for every stream which is O(N*N) :-)

--HPS

_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to