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

cleanup: LogisticsNewPipeItemBoxRenderer takes an ItemIdentifierStack #44

Merged
merged 1 commit into from
May 20, 2024

Conversation

szuend
Copy link

@szuend szuend commented May 20, 2024

For doRenderItem there is no need to convert first to an ItemStack and then back to an ItemIdentifierStack on the hotpath if we can just pass the ItemIdentifierStack directly.

This is a follow up to #40.

For doRenderItem there is no need to convert first to an ItemStack
and then back to an ItemIdentifierStack on the hotpath if we can just
pass the ItemIdentifierStack directly.

This is a follow up to GTNewHorizons#40.
@Dream-Master Dream-Master requested a review from a team May 20, 2024 08:54
@Dream-Master
Copy link
Member

@szuend are you on GTNH discord? I have a few questions about LP mod since you pushed a few fixes guess you know the codebase.

@boubou19 boubou19 merged commit 02af086 into GTNewHorizons:master May 20, 2024
2 checks passed
Dream-Master pushed a commit that referenced this pull request May 20, 2024
…#44)

For doRenderItem there is no need to convert first to an ItemStack
and then back to an ItemIdentifierStack on the hotpath if we can just
pass the ItemIdentifierStack directly.

This is a follow up to #40.

(cherry picked from commit 02af086)
@szuend
Copy link
Author

szuend commented May 20, 2024

@Dream-Master My GTNH discord username is "nimodota" :) But to be fair, I don't really know the code base. I just attached a profiler to LP and fixed some of the easier performance / GC problems.

@szuend szuend deleted the item-identifier-stack branch May 20, 2024 17:08
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