Skip to content

helloryuko/luaswift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luaswift

what is this?

it makes your lua script go vroom

how does it make it vroom?

local variables are known for being faster to access than the global ones.

this simple tool replaces calls to global functions with calls to local functions.

this is achieved by...

  1. parsing the script with luaparse
  2. going through every function call
  3. checking if the function is not defined elsewhere
  4. adding the function to the local variables list
  5. replacing the function name with the local one

also, it replaces the "dot syntax" with "underscore syntax". love it or not, accessing tables (and especially accessing global tables) is slooow.

why should i prefer this over gamesensical's lua optimizer?

  • cool ui
  • supports neverlose (ironical, right?)
  • doesn't break when using goto
  • uses LuaJIT as a lua version for luaparse

technologies used...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages