diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-15 13:05:39 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-15 13:06:02 +0100 |
commit | e81117fbd97f9ea077d377c89fdabd19726b3fbf (patch) | |
tree | 281cc278ea9d78fddc2b56e832993770afd680a2 /mime/packages | |
parent | 693241d572e3e7e6b23435104a1b98c9afbec5c9 (diff) | |
download | libquotient-e81117fbd97f9ea077d377c89fdabd19726b3fbf.tar.gz libquotient-e81117fbd97f9ea077d377c89fdabd19726b3fbf.zip |
Room::P::getCurrentState<>(): bypass the factory chain
This is to optimize a rather hot path creating stub events (for
member events in bigger rooms, in particular) when the event type is
known. Version 0.7 will have a completely different code based on
event content rather than event that will obviate stubs creation but
0.6.x can benefit from it.
Diffstat (limited to 'mime/packages')
0 files changed, 0 insertions, 0 deletions