Skip to content

Conversation

@imay
Copy link
Contributor

@imay imay commented Sep 2, 2019

This PR will reuse allocated chunks when storage read operation.

#1726

@kangkaisen
Copy link
Contributor

This PR seems have a indent issue?

@imay
Copy link
Contributor Author

imay commented Sep 2, 2019

This PR seems have a indent issue?

Origin code is 2 spaces indent, I change it to 4 spaces which is consistent with most of our code

const int MemPool::MAX_CHUNK_SIZE;

const char* MemPool::LLVM_CLASS_NAME = "class.impala::MemPool";
const char* MemPool::LLVM_CLASS_NAME = "class.palo::MemPool";
Copy link
Contributor

Choose a reason for hiding this comment

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

doris?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right

@kangkaisen
Copy link
Contributor

+1. LGTM.
The main change of this PR is add the MemPool::exchange_data method, other diff is because of indent.

@imay imay merged commit b4f6f75 into apache:master Sep 2, 2019
@imay imay deleted the opt-mem-pool branch September 2, 2019 11:29
@imay imay mentioned this pull request Sep 26, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
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.

3 participants