• 2 Posts
  • 68 Comments
Joined 11 months ago
cake
Cake day: August 6th, 2023

help-circle









  • For what its worth , the cache locality of Vec<Box<Dyn trait>> is terrible in general, i feel like if youre iterating over a large array of things and applying a polymorphic function you’re making a mistake.

    Cache locality isnt a problem when youre only accessing something once though.

    So imo polymorphism has its place for non iterative-compute type work, ie web server handler functions and event driven systems.











  • bonus_crab@lemmy.worldtomemes@lemmy.worldWhy is this?
    link
    fedilink
    arrow-up
    7
    arrow-down
    13
    ·
    3 months ago

    Lower testosterone is probably a big part of it. Look at 23 or 24 year old enhanced bodybuilders. they look like theyre 35. For whatever reason peoples T levels have been going down about 1 percent per year for the last 50 years. Its bound to have an effect.