Jump to content

Compiled .luac or .lua?


eSPeZet

Recommended Posts

Hello,

I was wondering if a compiled script would affect the performance/FPS of players. I think the script would have to get "compiled" ANYWAY even when i do NOT compile it myself. So the answer could be that a compiled script makes it load even FASTER since it has to compile it anyway (CORRECT ME IF IM WRONG).

So my question is if I am right with this or not..

And also: Does the "Extra obfuscation" reduce FPS? To me it seems logical that it COULD lead to some FPS loss, since it has to get decrypted all the time.

Edited by eSPeZet
Link to post

Compiled scripts run faster, as they are optimised(cleaner) for computer execution.

 

40 minutes ago, eSPeZet said:

And also: Does the "Extra obfuscation" reduce FPS? To me it seems logical that it COULD lead to some FPS loss, since it has to get decrypted all the time.

Decryption is only happening at the start of the resources. (The scripts will be loaded in the ram + executed) So yes, that might be happening in the beginning of the reading process if you have a lot of scripts. But after that, it shouldn't be a problem.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...