this post was submitted on 12 May 2024
610 points (92.1% liked)

Programmer Humor

19594 readers
665 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] 1984@lemmy.today 17 points 6 months ago (12 children)

It's absolutely slower. There is no way to make a network request faster than a function call. It's slower by probably thousands of times.

[–] TrumpetX@programming.dev 8 points 6 months ago (4 children)

I have to look it up every time, but this is always worth reading once a year to remind yourself:

https://gist.github.com/hellerbarde/2843375

[–] frezik@midwest.social 1 points 6 months ago (2 children)

Since this is from 12 years ago, have any of these numbers changed much? Especially the SSD numbers.

[–] TrumpetX@programming.dev 1 points 6 months ago (1 children)

Not in any order of magnitude

[–] frezik@midwest.social 1 points 6 months ago

By that chart, 1MB read from an SSD is only 4 times slower than 1MB read from RAM. Wouldn't have to be an order of magnitude improvement to have an important affect there.

load more comments (1 replies)
load more comments (8 replies)