Re:When zero cost abstractions aren't zero cost
by jcranberry on Tuesday August 10, 2021 @04:02PM
(#28133571)
Yeah, that was obviously not an optimization. You can't allocate 16 gigs in 5 micros. It might be problematic if you were relying on the lazy allocation of course.
The second example doesn't seem compelling to me either...is a newtype of a reference type a common application?
The second example doesn't seem compelling to me either...is a newtype of a reference type a common application?