Re: About replacing byteBuffer

2022-05-16 Thread 李思佳
, --- Sijia Li -邮件原件- 发件人: Xiangdong Huang 发送时间: 2022年5月17日 8:57 收件人: dev 主题:Re: About replacing byteBuffer If we introduce Netty, data copy when scaling a bytebuf is not what we want. Can we use compositeByteBuf to replace it and meanwhile enjoy the benefit of pooledByteBuf

Re: About replacing byteBuffer

2022-05-16 Thread Xiangdong Huang
If we introduce Netty, data copy when scaling a bytebuf is not what we want. Can we use compositeByteBuf to replace it and meanwhile enjoy the benefit of pooledByteBuf? --- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Jialin Qiao

Re: About replacing byteBuffer

2022-05-15 Thread Jialin Qiao
Hi, The serialization interface needs to be refactored afterward. Before that, using ByteArrayOutputStream is easier. Thanks, — Jialin Qiao Apache IoTDB PMC 李思佳 于2022年5月16日周一 11:44写道: > Hi all, > > When I was developing the snapshot interface for the configNode module, I >

About replacing byteBuffer

2022-05-15 Thread 李思佳
Hi all, When I was developing the snapshot interface for the configNode module, I noticed that the parameters received by the serialization interface were all defined as ByteBuffer, which seemed to have some problems. For example, the external main process has no way of knowing how big the