this post was submitted on 30 Oct 2023
1004 points (96.3% liked)

Programmer Humor

32453 readers
1631 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Bigworsh@discuss.tchncs.de 2 points 1 year ago

Sorry for being lazy so no sources for now. But based on my research back then. Using clone (on arrays) is actually slower then json_encode/json_decode.

So there are some cool optimization tricks going on in the background. But that doesn't make it any more intuitive for me.