• Justin@lemmy.jlh.name
    link
    fedilink
    English
    arrow-up
    2
    ·
    24 days ago

    There’s much better algorithmic and datatype optimizations to be made than to design your app around saving 3 bytes that most runtimes probably represent as a long long anyways

    • Cousin Mose@lemmy.hogru.ch
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      24 days ago

      True but more generally things like Electron apps, not precompiling classes in interpreted languages’ Docker images, looping through millions of records without plucking only the data you need, etc seem to be widespread and shrugged off.

      While writing code you can get in the habit of doing things efficiently and long-term the cost savings pile up. Obviously caring about only this one specific case will hardly accomplish much on its own.