Reducing mod size
#2

Quote:
Originally Posted by Ripster
Посмотреть сообщение
Now I started using global strings. This is one of the solutions I thought of.
This is not a solution and will only lead to more spaghetti code and potentially more problems due the variable unexpectedly being overwritten elsewhere. Avoid globals where possible.

What you want to avoid are large local arrays. Use only as much cells as can be expected to be reasonably necessary to hold the final output string.
Reply


Messages In This Thread
Reducing mod size - by Ripster - 12.02.2017, 08:44
Re: Reducing mod size - by Vince - 12.02.2017, 09:19
Re: Reducing mod size - by Ripster - 12.02.2017, 09:32
Re: Reducing mod size - by GoldenLion - 12.02.2017, 10:28

Forum Jump:


Users browsing this thread: 1 Guest(s)