503
you are viewing a single comment's thread
view the rest of the comments
[-] noli@programming.dev 22 points 7 months ago

Compiler optimizations like function inlining are your friend.

Especially in functional languages, there are a lot of tricks a compiler can use to output more efficient code due to not needing to worry about possible side effects.

Also, in a lot of cases the performance difference does not matter.

this post was submitted on 19 Apr 2024
503 points (100.0% liked)

Programmer Humor

19589 readers
381 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS