CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[LEAKED] Bo2 Jiggy v4.2 Mod Menu Source Code + Free Download
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BullyWiiPlaza" data-source="post: 7425" data-attributes="member: 543"><p>Yeah. I don't get why people make these pointless single letter wrapper functions. Trying to save space like this ruins code readability. Instead you should optimize the logic and remove redundancy of code blocks.</p><p></p><p>Other examples of uselessness:</p><p>[CODE]p(i)</p><p>{</p><p> self iPrintln(i);</p><p>}</p><p></p><p>b(i)</p><p>{</p><p> self iPrintlnBold(i);</p><p>}[/CODE]</p><p></p><p>You guys don't seem to realize that a function call is only a <strong>function reference</strong> and it doesn't actually copy and paste the whole statement back in so this "optimization" is a big fail and actually <strong>increases the file size</strong> due to an additional function definition and same space consumption for every function call.</p><p></p><p>One way to decrease space in a cheap way is to <strong>remove unnecessary function definitions</strong> and <strong>naming functions/variables as short as possible</strong> because each of them will be a String that has to be stored which will get costly. Note that <strong>every same String is only stored once</strong> no matter where they are defined in the GSC. Variable and function names are Strings too.</p><p></p><p>I know these things because I made a decompiler, duh xD</p></blockquote><p></p>
[QUOTE="BullyWiiPlaza, post: 7425, member: 543"] Yeah. I don't get why people make these pointless single letter wrapper functions. Trying to save space like this ruins code readability. Instead you should optimize the logic and remove redundancy of code blocks. Other examples of uselessness: [CODE]p(i) { self iPrintln(i); } b(i) { self iPrintlnBold(i); }[/CODE] You guys don't seem to realize that a function call is only a [B]function reference[/B] and it doesn't actually copy and paste the whole statement back in so this "optimization" is a big fail and actually [B]increases the file size[/B] due to an additional function definition and same space consumption for every function call. One way to decrease space in a cheap way is to [B]remove unnecessary function definitions[/B] and [B]naming functions/variables as short as possible[/B] because each of them will be a String that has to be stored which will get costly. Note that [B]every same String is only stored once[/B] no matter where they are defined in the GSC. Variable and function names are Strings too. I know these things because I made a decompiler, duh xD [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[LEAKED] Bo2 Jiggy v4.2 Mod Menu Source Code + Free Download
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top