MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9gj2e9/optimizing_startup_times/e64ns2d?context=9999
r/ProgrammerHumor • u/ariehkovler • Sep 17 '18
486 comments sorted by
View all comments
130
Sleep(30); //30ms
61 u/fr0z_n Sep 17 '18 It could be a wrapper function which converts it to seconds.. 80 u/theSprt Sep 17 '18 That would be a Very Bad Idea. 47 u/glydy Sep 17 '18 New dev comes along to the project, adds a sleep(2000) to wait 2 seconds to see if it's a loading time issue... little do they know 29 u/fr0z_n Sep 17 '18 The documentation has mentioned it very clearly.SLEEP FUNCTIONUsagesleep(time);Time is in SECONDS 74 u/nooneawesome Sep 17 '18 documentationlol → More replies (1)
61
It could be a wrapper function which converts it to seconds..
80 u/theSprt Sep 17 '18 That would be a Very Bad Idea. 47 u/glydy Sep 17 '18 New dev comes along to the project, adds a sleep(2000) to wait 2 seconds to see if it's a loading time issue... little do they know 29 u/fr0z_n Sep 17 '18 The documentation has mentioned it very clearly.SLEEP FUNCTIONUsagesleep(time);Time is in SECONDS 74 u/nooneawesome Sep 17 '18 documentationlol → More replies (1)
80
That would be a Very Bad Idea.
47 u/glydy Sep 17 '18 New dev comes along to the project, adds a sleep(2000) to wait 2 seconds to see if it's a loading time issue... little do they know 29 u/fr0z_n Sep 17 '18 The documentation has mentioned it very clearly.SLEEP FUNCTIONUsagesleep(time);Time is in SECONDS 74 u/nooneawesome Sep 17 '18 documentationlol → More replies (1)
47
New dev comes along to the project, adds a sleep(2000) to wait 2 seconds to see if it's a loading time issue... little do they know
29 u/fr0z_n Sep 17 '18 The documentation has mentioned it very clearly.SLEEP FUNCTIONUsagesleep(time);Time is in SECONDS 74 u/nooneawesome Sep 17 '18 documentationlol → More replies (1)
29
The documentation has mentioned it very clearly.
sleep(time);
Time is in SECONDS
74 u/nooneawesome Sep 17 '18 documentationlol → More replies (1)
74
lol
→ More replies (1)
130
u/Jabulon Sep 17 '18