Alexander Farber <[EMAIL PROTECTED]> writes: > 2005/8/9, Claudio Jeker <[EMAIL PROTECTED]>: > > On Tue, Aug 09, 2005 at 11:38:38AM +0200, Alexander Farber wrote: > > > what I dislike about OpenBSD's queue.h is that you can't take an > > > element from a SLIST and put it into a SIMPLEQ and vice versa. > > > Why? SIMPLEQ is a superset of SLIST. Just use the SIMPLEQ "functions" > > SIMPLEQ_INSERT_HEAD an SIMPLEQ_REMOVE_HEAD. > > Because SIMPLEQ_INSERT_* and SIMPLEQ_REMOVE are slower > than the SLIST counterparts - the former have to update the sqh_last too.
Show me the timing results of a real-world application where you measured a difference in performance. //art