Skip to content

Avoid calloc for encoder#41

Draft
AndersTrier wants to merge 1 commit intomasterfrom
AndersTrier/alternative_allocation_strategy
Draft

Avoid calloc for encoder#41
AndersTrier wants to merge 1 commit intomasterfrom
AndersTrier/alternative_allocation_strategy

Conversation

@AndersTrier
Copy link
Owner

The idea is to avoid writing a ton of 0's, as we'll overwrite most of them with original shards.

For decoder work we still allocate a ton of 0's, as we might not get the shards in order.

I'm yet to see examples where this makes a noticeable difference.

@AndersTrier AndersTrier self-assigned this Aug 15, 2024
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