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 one_size_heap code to simplify code #2984

Merged
merged 1 commit into from Nov 6, 2017
Merged

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Nov 3, 2017

  • all components can now use the same implementation of the one_size_list_heap, this should reduce compile time and code size

Copy link
Member

@sithhell sithhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this increase contention on the pools?

@hkaiser
Copy link
Member Author

hkaiser commented Nov 4, 2017

Wouldn't this increase contention on the pools?

What I meant is that all components use the same pool implementation, not the same instance (i.e. the pools are type-erased/non-templatized).

@hkaiser
Copy link
Member Author

hkaiser commented Nov 4, 2017

FWIW, I'm seeing ~5% reduction in binary size for the core HPX library from this.

- all components can now use the same implementation of the one_size_list_heap, this should reduce compile time and code size
Copy link
Member

@sithhell sithhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sithhell sithhell merged commit 4f3244e into master Nov 6, 2017
@sithhell sithhell deleted the one_size_heap branch November 6, 2017 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants