-
Notifications
You must be signed in to change notification settings - Fork 64
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
Overall optimization (it should work without testing but testing would be better) #101
Conversation
Well anyone can replace one function call with another, so just to be sure you understand what you're doing, describe what |
SetNetworkedBeamString are just wire's implementation of SetNWString that was removed a long time ago. |
Networked Beams were an attempt to optimize the data flow between server and client when treating large data (there's also a description here, a more-than-10-years-old file) but they eventually got removed (along with the NW Beam library) by AbigailBuccaneer in 2015. A fix would be changing |
I'll have time to review tomorrow. |
Oh, thought you were asking rather than testing |
I'm now removing unused Edit: I've noticed that there are several problems with Modular Panels already (#63, #97) so maybe we can skip |
Looks like a 1 to 1 conversion and looks fine. If you wouldn't mind just cleaning up the unneeded comments and revert the GetConVar change, it will be perfect. |
…extras into Edotm-fork/optimize1
Removed unnecessary comments and reverted |
Thanks. Looks good |
Overall optimization:
SetNetworked...
withSetNW...
,surface.ScreenWidth()
withScrW()
,table.getn(tbl)
with#tbl
, etc.)SetNetworkedBeamString
withSetNWString
I didn't actually edit anything else other than these things.