Skip to content

Conversation

Mordil
Copy link
Collaborator

@Mordil Mordil commented Apr 9, 2019

This resolves #31

@Mordil Mordil force-pushed the bytebuffers branch 2 times, most recently from 9e97c79 to acb57e4 Compare April 9, 2019 19:07
@Mordil Mordil changed the title [WIP] Bytebuffers Bytebuffers Apr 9, 2019
@Mordil Mordil marked this pull request as ready for review April 9, 2019 23:22
Motivation:

Throughout the process of creating and using RESPValue, many unnecessary allocations happened translating ByteBuffers into [Int8] raw byte arrays.

Results:

RESPValue has a more conherent underlying data structure and computed properties, while decoding RESP is more straight forward and performant

Resolves #31
@Mordil Mordil changed the title Bytebuffers Rework RESPValue to use ByteBuffers for .simpleString and .bulkString Apr 9, 2019
@Mordil Mordil merged commit 755f631 into master Apr 9, 2019
@Mordil Mordil deleted the bytebuffers branch April 9, 2019 23:32
@Mordil Mordil added this to the 1.0.0 milestone Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use ByteBuffer for RESPValue data storage
1 participant