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

Improvement skypaint matproxy #2107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

friztailo
Copy link

@friztailo friztailo commented Aug 28, 2024

sky_paint

Entity:GetNetworkVars() replaced with Entity:GetDT...() functions.
Does not create unnecessary tables and does not perform unnecessary iterations over the table of network values in each frame.

benchmark (SysTime):
Entity:GetDT...()	1.6824031256988e-06	1
Entity:Get...()	4.7368874997673e-06	2.8155484422319
Entity:GetNetworkVars()	3.2047187503892e-06	1.9048459322483

@robotboy655 robotboy655 added the Enhancement The pull request enhances current functionality. label Aug 29, 2024
@friztailo
Copy link
Author

Maybe we should stop creating the table every frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement The pull request enhances current functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants