-
- Downloads
optimized wire.js inbound function, reduce combine times
If the frame data is large, it will be divided into multiple packets. In the current processing mode, each packet will be merged with the old packet into a new buffer, resulting in a large number of redundant operations.
Optimization scheme: Use array cache packets, and finally use DataView.set to do a merge.
After testing, 1080p picture data merging time can be reduced from 100ms to <5ms
Signed-off-by:
zengdongbao <zengdongbao@gmail.com>
parent
9c8377f8
No related branches found
No related tags found
Please register or sign in to comment