Skip to content

Feat: sort the recorded data in memory #115

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

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Feat: sort the recorded data in memory #115

merged 2 commits into from
Nov 20, 2023

Conversation

pangdayuan1
Copy link
Collaborator

@pangdayuan1 pangdayuan1 commented Nov 20, 2023

Previously, sorting was done by the record and creation indexes, but now it is done in memory because it is faster in memory.

80 link data, cost 186ms with indexing, cost 134ms with sorting in memory.
200 link data, cost 240ms with indexing, cost 156ms with sorting in memory

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pangdayuan1 pangdayuan1 merged commit 9e02fa2 into main Nov 20, 2023
@pangdayuan1 pangdayuan1 deleted the feat/removeSort branch November 20, 2023 07: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.

3 participants