|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
compressing code?
I am far off this point, but lets say you wanted to make a huge application. Is it worth it to cut out any black rows and get as many things on one line as possible? I know it will be tough to read the code, but it can subtract sometimes more then 10% off the programs size. I made a simple 100KB program and i noticed a tiny little pause (hardly noticeable unless looking for it). I then took out all the empty rows in my code and arranged a few lines that could be fit on one line(instead of two or three). My program was then 70KB and I noticed no pause. What's everybodies insite on this? Am I just being a stupid newb? Thanks in advance.
-andy
__________________
hmmm... |
|
#2
|
|||
|
|||
|
When compiling all the useless whitespace and comments are removed,so it doesnt affect the size of the binary.
Did you check the size of the binaries or of the source code file? |
|
#3
|
||||
|
||||
|
source code file. Thank you.
-andy |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > compressing code? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|