[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmpp] Fwd: Use of namespace in RFC 3920



On 9/24/09 11:29 AM, "Jack Moffitt" <jack at collecta.com> wrote:

>> As long as your server has not been coded to check the first byte of the
>> element name for fast routing decisions.  I know of at least two servers
>> that do this.
> 
> Surely it's not that much less efficient to check the first byte
> following the ':' instead?  This does at least provide a good reason
> why it was set in stone to begin with.

A) it's a backward-compatibility issue
B) the ':' is not at a fixed offset, so you have to scan up to it.

-- 
Joe Hildebrand


Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.