qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Remove liner queue functions
Date Fri, 06 Nov 2009 19:30:19 GMT

I created a patch which seems to work well, it targets querying the 
queue, count, acquire making the
queue access faster for large queues (best 1 {if no requeue or acquire}, 
worst case binary-search) . In
most cases if it faster then binary search even if requeue or selector 
is used.

It does require that the re-queue order be corrected - which should be 
done regardless.

The remaining function that could use some similar dressing would be 
Queue::seek()

Any thoughts on the patch... This patch opens the way for reasonable 
selector performance.
Carl.


Mime
View raw message