[Click] STL sort and kernel-level Click

Eddie Kohler kohler at cs.ucla.edu
Fri Dec 7 19:34:33 EST 2007


click_qsort() isn't EXACTLY a replacement; it's more of a replacement for 
standard-C qsort().  STL sort() has a different interface and is often a bit 
faster.  But click_qsort() is what we've got at the moment.

Eddie


Joonwoo Park wrote:
> 2007/12/4, Beyers Cronje <bcronje at gmail.com>:
>>> Thanks for your replies.  Do you know if Click has its own proprietary
>>> sort( ) method that works on Vectors? I'm sure there is (I doubt I'm the
>>> first person to want this functionality), but I don't really know where to
>>> look.
>>>
> 
> Hi Daniel,
> Please take look at click_qsort in lib/glue.cc.
> It works for Vector.
> 
> Joonwoo
> joonwpark.tistory.com
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list