top | item 47183854 (no title) bertylicious | 2 days ago Nice! That's (seems) so simple yet also so very effective. Shouldn't other memory-managed languages be able to profit from this as well? discuss order hn newest KolmogorovComp|2 days ago It’s a very well known pattern, as someone else mentioned it’s used in CPP in smallstring, Rust smallvec, C usually hand rolled etc. unknown|2 days ago [deleted] lionkor|2 days ago C# has `stackalloc` bertylicious|2 days ago But that requires an explicit declaration and isn't done automatically under the hood, or am I missing something? load replies (1)
KolmogorovComp|2 days ago It’s a very well known pattern, as someone else mentioned it’s used in CPP in smallstring, Rust smallvec, C usually hand rolled etc.
lionkor|2 days ago C# has `stackalloc` bertylicious|2 days ago But that requires an explicit declaration and isn't done automatically under the hood, or am I missing something? load replies (1)
bertylicious|2 days ago But that requires an explicit declaration and isn't done automatically under the hood, or am I missing something? load replies (1)
KolmogorovComp|2 days ago
unknown|2 days ago
[deleted]
lionkor|2 days ago
bertylicious|2 days ago