You are viewing a plain text version of this content. The canonical link for it is here.
Posted to distributedlog-commits@bookkeeper.apache.org by si...@apache.org on 2017/10/18 20:07:57 UTC

[distributedlog] 01/01: Issue 205: Avoid copying bytebuf for constructing log record to write

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/distributedlog.git

commit 07e2a8a2ae3d7217ce1ea695251a9d9903f08721
Merge: 1b42f5b c2cd6d2
Author: Sijie Guo <gu...@gmail.com>
AuthorDate: Wed Oct 18 13:07:54 2017 -0700

    Issue 205: Avoid copying bytebuf for constructing log record to write
    
    Descriptions of the changes in this PR:
    
    - avoid copying memory for writer facing constructor for log records
    - construct a ByteBuf by copying ByteBuffer for reader facing constructors
    
    This closes #205, #206

 .../src/main/java/org/apache/distributedlog/LogRecord.java          | 6 ++----
 .../src/main/java/org/apache/distributedlog/LogRecordWithDLSN.java  | 6 +++++-
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
"distributedlog-commits@bookkeeper.apache.org" <di...@bookkeeper.apache.org>.