Skip to content

Omit type conversion in AsRenderElements::render_elements() #1626 #1699

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kenoss
Copy link
Contributor

@kenoss kenoss commented Mar 30, 2025

This patch omits type conversion in
AsRenderElements::render_elements() and simplifies it.

Closes: #1626

kenoss added 2 commits March 30, 2025 23:55
…#1626

This patch omits type conversion in
`AsRenderElements::render_elements()` and simplifies it.
@kenoss
Copy link
Contributor Author

kenoss commented Mar 30, 2025

See also #1700. I prefer this (B) now as (C) has some issues.

@Drakulix
Copy link
Member

imo, this is the worst of both worlds, as we now have a guaranteed allocation. I think the issue of #1700 are fixable and the overall approach is simply better.

@kenoss
Copy link
Contributor Author

kenoss commented Apr 6, 2025

Thanks! Let's continue discussion on #1700.

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