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

refactor: Localize functions + Remove separate threads #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Tiziukas
Copy link

@Tiziukas Tiziukas commented Oct 4, 2024

In theory, this should micro-optimize the server load. (Char count behaviour slightly rewritten too and removed the need for a function when it is unused in other places.

In theory, this should micro-optimize the server load.
In theory should provide optimization to the client.
@Tiziukas
Copy link
Author

Tiziukas commented Oct 4, 2024

Refactored the client too.

end

function getVehicleFromModel(model)
local function getVehicleFromModel(model)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! I'm not sure if this works if you're using local here because this method has been used before. Did you test the code did it work?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I did not test however I am happy to test today after work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Awaiting feedback
Development

Successfully merging this pull request may close these issues.

2 participants