Skip to content

hashBucketCount = availableProcessors; segment.freeSegmentCount#725

Closed
rewlad wants to merge 1 commit into
square:jwilson.0527.segment_pool_bucketsfrom
rewlad:jwilson.0527.segment_pool_buckets
Closed

hashBucketCount = availableProcessors; segment.freeSegmentCount#725
rewlad wants to merge 1 commit into
square:jwilson.0527.segment_pool_bucketsfrom
rewlad:jwilson.0527.segment_pool_buckets

Conversation

@rewlad
Copy link
Copy Markdown
Contributor

@rewlad rewlad commented May 29, 2020

optimizing SegmentPool:
hashBucketCount = availableProcessors
counter moved to segment.freeSegmentCount

@swankjesse
Copy link
Copy Markdown
Collaborator

Love this.

@rewlad can you do the Square contributors’ agreement please? It gives us the ability to redistribute your code! https://github.com/square/okio/blob/master/CONTRIBUTING.md

@rewlad
Copy link
Copy Markdown
Contributor Author

rewlad commented May 30, 2020

I've done agreement.

Some tests are failing. Probably byteCount lost its meaning. What's with it?

@swankjesse
Copy link
Copy Markdown
Collaborator

Obsoleted by #727

@swankjesse swankjesse closed this Jun 2, 2020
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.

2 participants