« first day (2055 days earlier)      last day (1441 days later) » 

8:47 PM
> A) In other words, Rust's automagical memory deallocation is NOT a zero-cost abstraction:
> B) Of course deallocating has a non-zero cost and many languages, including Rust, hide it from the programmer. That's why when I'm dealing with costly destructors I don't let them be called automatically at the end of scope, instead I move the data to a message queue to be passed on to a Kubernetes load balancer so the data structure can be dropped in the cloud, saving precious cycles elsewhere.
> The example is preforming 1 million deallocations. That's why it's so pathological. It's not just a "large" vector. It's a vector of 1 million vectors. While that may seem contrived, consider a vector of 1 million strings, something that's not too uncommon, and which would likely suffer the same performance penalty.
XD
 
9:30 PM
space launch at least show american metric system :p
 

« first day (2055 days earlier)      last day (1441 days later) »