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

s2: Improve better compression #359

Merged
merged 1 commit into from
Apr 22, 2021
Merged

s2: Improve better compression #359

merged 1 commit into from
Apr 22, 2021

Conversation

klauspost
Copy link
Owner

Index more entries at beginning and end of matches.

Before/after:

Reading d:\compress\enwik9...
Compressing... 1000000000 -> 426242923 [42.62%]; 225ms, 4244.2MB/s
Compressing... 1000000000 -> 418428483 [41.84%]; 230ms, 4154.8MB/s

Reading d:\compress\adresser.json...
Compressing... 7983034785 -> 457984083 [5.74%]; 507ms, 15018.9MB/s
Compressing... 7983034785 -> 453666648 [5.68%]; 494ms, 15424.7MB/s

Reading d:\compress\nyc-taxi-data-10M.csv...
Compressing... 3325605752 -> 935022950 [28.12%]; 462ms, 6870.2MB/s
Compressing... 3325605752 -> 917905514 [27.60%]; 460ms, 6889.8MB/s

Index more entries at beginning and end of matches.

Before/after:
```
Reading d:\compress\enwik9...
Compressing... 1000000000 -> 426242923 [42.62%]; 225ms, 4244.2MB/s
Compressing... 1000000000 -> 418428483 [41.84%]; 230ms, 4154.8MB/s

Reading d:\compress\adresser.json...
Compressing... 7983034785 -> 457984083 [5.74%]; 507ms, 15018.9MB/s
Compressing... 7983034785 -> 453666648 [5.68%]; 494ms, 15424.7MB/s

Reading d:\compress\nyc-taxi-data-10M.csv...
Compressing... 3325605752 -> 935022950 [28.12%]; 462ms, 6870.2MB/s
Compressing... 3325605752 -> 917905514 [27.60%]; 460ms, 6889.8MB/s
```
@klauspost klauspost merged commit 6522991 into master Apr 22, 2021
@klauspost klauspost deleted the s2-better-index-more2 branch April 22, 2021 09:22
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.

1 participant