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

Refactor implementation and optional mimalloc #36

Merged
merged 12 commits into from
Feb 22, 2021

Conversation

milesgranger
Copy link
Owner

@milesgranger milesgranger commented Feb 21, 2021

Generalization, and other updates/optimizations

@martindurant Here I've noticed, given a previous comment of yours, that snappy benchmarks were comparing cramjam framed vs python-snappy's raw format. After updating, the raw formats are basically the same; cramjam slightly slower in smaller files, then edges passed python-snappy in the larger files.

I'm unsure of my current benchmark for the framed format, cramjam is significantly faster and obviously due to having to push data into file-like objects for snappy.stream_de/compress. Do you have any suggestions, maybe I should just leave that benchmark version out?

Will close #25

@martindurant
Copy link

martindurant commented Feb 21, 2021 via email

@milesgranger milesgranger force-pushed the refactor-resize-bytearray-n-writer-traits branch from 7ec5f1a to 9c0a7de Compare February 22, 2021 20:14
@milesgranger milesgranger marked this pull request as ready for review February 22, 2021 20:16
@milesgranger milesgranger changed the title Refactor implementation - mimalloc global allocator Refactor implementation and optional mimalloc Feb 22, 2021
@milesgranger milesgranger merged commit aa2259b into master Feb 22, 2021
@milesgranger milesgranger deleted the refactor-resize-bytearray-n-writer-traits branch February 22, 2021 21:16
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.

Macro or other simplification for code
2 participants