summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* expand scope of "no alternate exchange" optimisationbug24504Matthias Radestock2011-10-211-3/+2
| | | | to cover the "routed somewhere" case too
* Revert 910c670238ad (Produce guids a bit more efficiently)Simon MacMullen2011-10-191-7/+7
|
* 3) Cache results of rabbit_registry:lookup_module() for exchange types in ↵Simon MacMullen2011-10-191-2/+6
| | | | the process dictionary.
* 2) Produce guids a bit more efficiently.Simon MacMullen2011-10-191-7/+7
| | | | (At the cost of limiting us to 2^64 messages published per channel.)
* 1) Don't even consider alternate exchanges for exchanges with no args.Simon MacMullen2011-10-191-0/+3
|
* Merge bug17162.Simon MacMullen2011-10-193-121/+109
|\
| * remove parse_properties (again) and rename testbug17162Alexandru Scvortov2011-10-182-116/+59
| |
| * small routing optimisation and re-add parse_propertiesAlexandru Scvortov2011-10-182-1/+58
| | | | | | | | Parse_properties is now only used to test encode_properties.
| * cosmeticAlexandru Scvortov2011-10-181-7/+12
| | | | | | | | And fix the '_':2 thing.
| * unroll property parserAlexandru Scvortov2011-10-172-59/+46
| | | | | | | | The codegen code is quite ugly now; I'll see what I can do about that.
* | yet another attempt to reduce timeouts in CIMatthias Radestock2011-10-191-6/+6
| | | | | | | | | | - catch surplus eagerly - wait longer for confirms, wait shorter for any surplus
* | As noted in bug17162 comment 13, this delivers a few percent improvement on ↵Simon MacMullen2011-10-181-0/+5
| | | | | | | | MM -y 0.
* | Merged bug24460 into defaultEmile Joubert2011-10-181-3/+2
|\ \
| * | remove redundant usortbug24460Alexandru Scvortov2011-10-171-2/+1
| | | | | | | | | | | | It used to be there because it tended to speed things up for some reason.
| * | properly sort the queue of acksAlexandru Scvortov2011-10-171-3/+3
| | |
* | | Merge bug24483Simon MacMullen2011-10-188-812/+391
|\ \ \
| * | | looks like a 200ms wait is still not enough to keep CI happyMatthias Radestock2011-10-171-1/+1
| | |/ | |/|
| * | merge bug24455 into defaultMatthias Radestock2011-10-174-786/+365
| |\ \ | | |/ | |/|
| | * Minor tweaksbug24455Matthew Sackman2011-10-171-14/+5
| | |
| | * Having thought about and discussed the code and desires, change things ↵Matthew Sackman2011-10-171-47/+26
| | | | | | | | | | | | around a bit.
| | * cosmetic + correct specs for lqueue:peek{_r}Matthias Radestock2011-10-151-16/+16
| | |
| | * oopsMatthias Radestock2011-10-151-7/+3
| | |
| | * 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).
| | * refactor: extract delta assertions into one placeMatthias Radestock2011-10-151-14/+15
| | |
| | * doc tidyingMatthias Radestock2011-10-151-10/+3
| | |
| | * merge default into bug24455Matthias Radestock2011-10-154-772/+429
| | |\ | |/ /
| | * Because I've got rid of ram_index_count (i.e. betas count), and because the ↵Matthew Sackman2011-10-121-48/+20
| | | | | | | | | | | | guard around whether or not betas_to_deltas is now based on q2 and q3 len rather than ram_index_count, we no longer need to have the separate gammas_to_deltas fun, which means we should no longer have the problem with it being called too often as we should be able to rely on the chunk stuff working out.
| | * gb_sets:from_list(X) is slow. gb_sets:from_ordset(lists:usort(X)) is faster. ↵Matthew Sackman2011-10-121-8/+9
| | | | | | | | | | | | Just keeping it as a gb_set throughout is fastest still.
| | * Update docsMatthew Sackman2011-10-121-29/+70
| | |
| | * Undo that last change, but still ensure q3 ends on a segment boundary by ↵Matthew Sackman2011-10-121-16/+9
| | | | | | | | | | | | giving q2 priority over q3 beyond the segment boundary of q3
| | * cosmetic, and be somewhat smarter about deciding the minimum length of q3 ↵Matthew Sackman2011-10-122-8/+15
| | | | | | | | | | | | (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
| | |
| | * Do not use q1+q4 length when calculating permitted ?s - if you do, then as ↵Matthew Sackman2011-10-111-5/+4
| | | | | | | | | | | | the queue is slowly drained, even whilst target_ram_count may be growing, you can end up writing more out to disk. Instead, use the target_ram_count directly as an indication of ?s. This is preferable as it indicates the permitted ?s which is obviously suitable for use when calculating the permitted ?s.
| | * Add peek and peek_r to lqueue, and use them in needs_timeout. Whilst this is ↵Matthew Sackman2011-10-112-10/+18
| | | | | | | | | | | | better, it's still O(N) per msg, so we shouldn't actually be doing even this...
| | * When under memory pressure, we want to limit the size of q2 and q3, not just ↵Matthew Sackman2011-10-112-161/+132
| | | | | | | | | | | | of ?s. Simplify calculation of permitted length. Simplify (and correct) expansion of ?. We can now completely drop ram_index_count as we never care about just the number of ?s.
| | * Merging default to bug24455Matthew Sackman2011-10-116-219/+211
| | |\
| | * | Ensure that we push ?-bordering ?s into ? eagerly.Matthew Sackman2011-10-112-10/+22
| | | |
| | * | Merging default into bug24455Matthew Sackman2011-10-044-648/+271
| | |\ \
| | | * | simplify delta calculation in push_betas_to_deltasMatthias Radestock2011-10-031-65/+47
| | | | |
| | | * | fix indentationMatthias Radestock2011-10-021-2/+1
| | | | |
| | | * | save a lineMatthias Radestock2011-10-021-3/+2
| | | | |
| | | * | merge headsMatthias Radestock2011-10-021-1/+1
| | | |\ \
| | | | * | Make lqueue opaqueMatthew Sackman2011-10-021-1/+1
| | | | | |
| | | * | | refactor: get rid of #merge_funsMatthias Radestock2011-10-021-54/+29
| | | | | |
| | | * | | some small cosmetic changes and tiny tweaksMatthias Radestock2011-10-021-13/+13
| | | |/ /
| | | * | Drop unneeded queue impls, tidy lqueue, add specs etcMatthew Sackman2011-10-026-820/+28
| | | | |
| | | * | Avoid lots of combine_delta callsMatthew Sackman2011-10-022-45/+87
| | | | |
| | | * | Merging default into bug24455Matthew Sackman2011-10-027-80/+87
| | | |\ \
| | | * | | Avoid delta's low end extending beyond the low end of q3Matthew Sackman2011-09-301-16/+21
| | | | | |
| | | * | | Merging default into bug24455Matthew Sackman2011-09-305-245/+392
| | | |\ \ \