Tip of the day: how to speed up your code

· · Mastodon Twitter Crossposter · 10 · 35 · 67

@nukosu disables the JIT compiler and the garbage collector! (because the process is so short-lived that none are worth it, so the total time is faster without them!)

@striker haha, it sort of is, because it *disables* the JIT compiler, but it makes the code run faster because the process is short-lived!

@hj @hisham_hm I was going to comment about that! We used to have a physical button for that. Having it in the code is not necessary!

@hisham_hm optimization engineers don't want you to know this! 😂

@hisham_hm I wish I had known that earlier. Thanks for sharing!
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!