diff options
author | Badlop <badlop@process-one.net> | 2010-10-14 21:15:40 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-10-14 21:15:40 +0200 |
commit | a5230c46c2e9e2141cbec9b3c0a5493e41739346 (patch) | |
tree | 5dad7837eb883439b641adfc2d2322e34d697cf6 /doc | |
parent | Include a gitignore file in the ejabberd git repository (EJAB-1312) (diff) |
Speed up ejabberd_s2s:is_service/2, allow_host/2 (thanks to Andreas Köhler)(EJAB-1319)
Iterating through the list of possible parent domains of a given domain
and comparing with the list of hosts or routes is almost always faster
than doing it the other way around. It naturally returns the shortest or
longest parent domain satisfying a predicate, whereas the possibly long
list compared with would need to be sorted by length first.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions