We should consider the optimizability of whatever we do. I think there's already a bug or an issue about O(n) searches through match rules on every message. O(log N) is probably OK but globs might be inherently O(n) (or at least very hard to do without that) Havoc