Skip to content

Replace streams#4

Merged
drcrazy merged 1 commit intoTechReborn:masterfrom
GabrielOlvH:master
Nov 2, 2020
Merged

Replace streams#4
drcrazy merged 1 commit intoTechReborn:masterfrom
GabrielOlvH:master

Conversation

@GabrielOlvH
Copy link
Copy Markdown
Contributor

The reason for this change is because these methods are called very often and streams create overhead, although not very big, it can escalate when lots of them are created which can be seen in spark results like this from the All Of Fabric NA server. Calls for Energy.valid and Energy.of can be seen consuming an unwanted amount of the tick time which is not ideal. Hopefully this change will help performance.

@drcrazy drcrazy merged commit 6c81728 into TechReborn:master Nov 2, 2020
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