cpp-ipc icon indicating copy to clipboard operation
cpp-ipc copied to clipboard

请问为何不提供loan的接口

Open thun-res opened this issue 6 months ago • 2 comments

大佬你好~,ipc::sender为何不提供类似loan的接口,很多情况下可以减少一次拷贝: 就比如protobuf的序列化,通过调用SerializeToArray,直接把buffer指定到共享内存块上,这样可以省去一次从用户的内存搬运到共享内存的过程

thun-res avatar Aug 18 '24 06:08 thun-res