Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve xadd performance and remove redundant allocations #1160

Merged
merged 1 commit into from May 3, 2023
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Apr 29, 2023

  1. Incorporate StreamAppendItem into c++ codebase and stop using t_stream implementation.
  2. Change its signature to accept CmdArgList instead of array of robj*.

@romange romange requested a review from chakaz April 29, 2023 22:22
chakaz
chakaz previously approved these changes May 2, 2023
src/server/stream_family.cc Outdated Show resolved Hide resolved
src/server/stream_family.cc Outdated Show resolved Hide resolved
src/server/stream_family.cc Show resolved Hide resolved
1. Incorporate StreamAppendItem into c++ codebase and stop using t_stream implementation.
2. Change its signature to accept CmdArgList instead of array of robj*.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange
Copy link
Collaborator Author

romange commented May 3, 2023

Fixed punctuation comments.

@romange romange requested a review from chakaz May 3, 2023 05:32
@romange
Copy link
Collaborator Author

romange commented May 3, 2023

Thanks! :)

@romange romange merged commit 842c1e4 into main May 3, 2023
6 checks passed
@romange romange deleted the Pr1 branch May 3, 2023 06:32
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.

None yet

2 participants