Better HN
topnewbestaskshowjobs
Log inSign up

MooMooMooney

21 karma · joined Apr 10, 2017 (9y ago) · 3 submissions

Submissions

comment 9y ago · link · parent

"Lastly, we started combining files, and we found out that combining all of our 200 models into one file decreased the compilation time from 1min35sec, to just 17sec. So we are like, "Hold on, this is interesting, combining everything into one makes it much faster." The reason for this is that, as much as I know, that a compiler does type checking for every single file. So if you spawn 200 processes of Swift compilers, it needs to 200x check all the other files and make sure that you're using the correct types. So combining everything into one makes it much faster. "

Good to know

comment 9y ago · link · parent

C of course is not your friend, C is always computer's friend.

comment 9y ago · link · parent

The same for the time in college, I would have more time to explore and unleash myself more, if I don't have to do 1000 assignments a week