Consumer: use a bitset instead of a set for supported payload types (#919)
This is way more performant. * Before the change, set.find() could take as much as half of the CPU time taken by RtpStreamSend::ReceivePacket(). * After the change, bitset[] CPU time is negligible. Extra: It takes less space than the set.
正在显示
请
注册
或者
登录
后发表评论