8000 Arena-allocate physical operators by taniabogatsch · Pull Request #16911 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Arena-allocate physical operators #16911

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

Merged
merged 5 commits into from
Apr 3, 2025

Conversation

taniabogatsch
Copy link
Contributor

Use placement new to arena-allocate the physical operators in the physical plan. This change is another PR in a series of PRs / refactoring to decrease DuckDB's allocation overhead during planning/etc.

Currently, each operator still requires calling its destructor. Ideally, we slowly change this on a per-operator basis with a series of (small) PRs. Thus, this PR introduces a new PhysicalOperatorMemoryType to determine whether we call the respective destructor when destroying the physical plan.

@taniabogatsch taniabogatsch requested a review from Maxxen March 31, 2025 14:04
@duckdb-draftbot duckdb-draftbot marked this pull request as draft April 1, 2025 09:18
@taniabogatsch taniabogatsch marked this pull request as ready for review April 1, 2025 09:20
@duckdb-draftbot duckdb-draftbot marked this pull request as draft April 2, 2025 08:18
@taniabogatsch taniabogatsch marked this pull request as ready for review April 2, 2025 09:42
@Mytherin Mytherin merged commit cf02bff into duckdb:main Apr 3, 2025
32 checks passed
@Mytherin
Copy link
Collaborator
Mytherin commented Apr 3, 2025

Thanks!

@taniabogatsch taniabogatsch deleted the arena-physical-ops branch April 7, 2025 08:13
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 17, 2025
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
0