• el_abuelo@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Something has gone horribly wrong if you’re trying to do such optimisations when you’ve already chosen JavaScript…let alone Electron.

              • el_abuelo@lemmy.ml
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

                Thankfully the only interaction I have with teams is when a supplier arranges the call. Once every two weeks. It grosses me out every time…and that’s the Web app.

                Do you really think they have done such optimisation efforts as minimising function calls? I can’t imagine it’s required for what is actually a fairly simple frontend app. The complexity is the enabling stack on the backend.

      • Demonen@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        If you’re optimizing that hard you should probably sort the data first anyway, but yeah, sometimes it’s absolutely called for. Not that I’ve actually needed that in my professional career, but then again I’ve never worked close enough to metal for it to actually matter.

        That said, all of these are implemented as functions, so they’re already costing the function call anyway…