generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Optimizing performance

Previous Thread :: Next Thread 
Postured is not online. Postured
Joined: 02 Feb 2012
Total Posts: 114
09 May 2013 07:35 PM
Could someone help me out with what runs faster than what, and things like that? Stuff to optimize the performance of my scripts to run as fast as they possibly can?
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
09 May 2013 07:38 PM
https://twitter.com/pwnedu462/status/324309111732850689
Report Abuse
Postured is not online. Postured
Joined: 02 Feb 2012
Total Posts: 114
09 May 2013 07:45 PM
Very interesting article, thank you.

Any other tips while I'm blazing through it?
Report Abuse
Postured is not online. Postured
Joined: 02 Feb 2012
Total Posts: 114
16 May 2013 08:22 PM
Bump.
Report Abuse
Postured is not online. Postured
Joined: 02 Feb 2012
Total Posts: 114
16 May 2013 10:19 PM
Bump.
Report Abuse
Tj3 is not online. Tj3
Joined: 12 Mar 2008
Total Posts: 677
16 May 2013 10:33 PM
Well, there's a saying that says "Premature optimization is the root of all evil." My most important suggestion is stay away from it unless you identify a clear need for it.

In general, something that will help with speed, and also result in better code in general, is to use locals. Locals don't require the table lookup that global variables do, and they prevent issues that arise from non-local variables in different scopes interfering.
Report Abuse
Postured is not online. Postured
Joined: 02 Feb 2012
Total Posts: 114
04 Jun 2013 05:06 PM
The reason I am looking for optimized performance is because I am started on a rather large project. I would like to build the optimization in rather than have to tediously add it in later.

Thanks for the tip about locals, although I already knew that. It's an often overlooked fact.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image