aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/room_state.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-15 13:05:39 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-15 13:06:02 +0100
commite81117fbd97f9ea077d377c89fdabd19726b3fbf (patch)
tree281cc278ea9d78fddc2b56e832993770afd680a2 /lib/csapi/room_state.h
parent693241d572e3e7e6b23435104a1b98c9afbec5c9 (diff)
downloadlibquotient-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 'lib/csapi/room_state.h')
0 files changed, 0 insertions, 0 deletions