+ 1
When you have a space in a line of code does that take up any memory?
I've heard that the computer just ignores spaces in code, for example in math problems in code. My question is if I wanted to make my code file as compact as possible, would going back and deleting the spaces between 1 + 1 help?
2 Answers
+ 1
Would be a fun test:
Make a code in two versions, import both and compare their performance with a tool like time.timeit.