We are buiding a system based on XMPP PubSub, and our client can
receive a lot of PubSub messages. In profiling the performance of
message reception and handling, we discovered that about half the time
spent in Parser::feed() is spent in
StanzaExtensionFactory::addExtensions(), which is spending most of its
time in Tag::findTagList().
It seems like the current StanzaExtension architecture requires gloox
to call findTagList() for each registered StanzaExtension, on each
received stanza. The PubSub Manager itself registers 3
StanzaExtensions...
Are there any plans to refactor this into something that would be more
efficient?