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

Inline functions frequently called from Materialize #514

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antiguru
Copy link
Member

Observed from applying callgrind on Materialize.

@@ -81,6 +84,7 @@ impl<T: Columnation> TimelyStack<T> {
/// Retain elements that pass a predicate, from a specified offset.
///
/// This method may or may not reclaim memory in the inner region.
#[inline]
Copy link
Member Author

Choose a reason for hiding this comment

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

Check if this is actually helpful.

@@ -495,6 +495,7 @@ impl<T> MutableAntichain<T> {
/// This method is meant to be used for bulk updates to the frontier, and does more work than one might do
/// for single updates, but is meant to be an efficient way to process multiple updates together. This is
/// especially true when we want to apply very large numbers of updates.
#[inline]
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove.

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