summaryrefslogtreecommitdiff
path: root/src/lqueue.erl
Commit message (Collapse)AuthorAgeFilesLines
* Switch to Erlang 17-style types, /0 versions at least.Simon MacMullen2014-09-171-1/+1
|
* Update copyright for 2014bug25940Simon MacMullen2014-03-171-1/+1
|
* s/VMware/GoPivotal/gSimon MacMullen2013-07-011-2/+2
|
* Update copyright 2013bug25343Emile Joubert2013-01-231-1/+1
|
* Update copyright 2012bug24606Emile Joubert2012-02-021-1/+1
|
* cosmetic + correct specs for lqueue:peek{_r}Matthias Radestock2011-10-151-16/+16
|
* Revert lqueue so it does not cache ends of queue as we no longer need this ↵Matthew Sackman2011-10-151-71/+33
| | | | to be O(1).
* cosmetic, and be somewhat smarter about deciding the minimum length of q3 ↵Matthew Sackman2011-10-121-5/+5
| | | | (now must end on a segment boundary - minor optimisation)
* Cache both ends of the queue to give O(1) peek and peek_rMatthew Sackman2011-10-121-37/+68
|
* Add peek and peek_r to lqueue, and use them in needs_timeout. Whilst this is ↵Matthew Sackman2011-10-111-1/+9
| | | | better, it's still O(N) per msg, so we shouldn't actually be doing even this...
* Make lqueue opaqueMatthew Sackman2011-10-021-1/+1
|
* Drop unneeded queue impls, tidy lqueue, add specs etcMatthew Sackman2011-10-021-0/+24
|
* Avoid lots of combine_delta callsMatthew Sackman2011-10-021-11/+31
|
* Count the quota properly on beta -> delta. Also, fprof shows that the ↵Matthew Sackman2011-09-291-0/+45
queue:len calls in permitted_beta_count can be very expensive. So wrap the whole of queue in lqueue and associated refactoring.