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

Optimize ParseMetadata by introducing RedisTypes #1967

Merged
merged 2 commits into from
Dec 24, 2023

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Dec 24, 2023

Both construction of std::vector<RedisType> and vector<T>::find is not efficient enough.

Here we use bitmap to make it faster and avoid memory allocation.

@PragmaTwice PragmaTwice requested a review from git-hulk December 24, 2023 13:31
git-hulk
git-hulk previously approved these changes Dec 24, 2023
Copy link
Member

@git-hulk git-hulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, cool!

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
No data about Coverage
1.6% Duplication on New Code

See analysis details on SonarCloud

@PragmaTwice PragmaTwice merged commit b0b1b4e into apache:unstable Dec 24, 2023
29 checks passed
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.

3 participants