There's a lot of questions people ask that I can't answer, or I have no idea who to ask. Maybe if I start a list of questions it'll prompt professionals (or people on the V8 team) to supply authoritative answers.
I'll start a list here and update it as I go.
Q. Does operator overloading inherently make all operators slower when implemented in an engine? Basically does the operation of being able to arbitrarily change what + means on an object inherently make all + operations slower? Is this something that depends heavily on the JIT implementation?
There's a lot of questions people ask that I can't answer, or I have no idea who to ask. Maybe if I start a list of questions it'll prompt professionals (or people on the V8 team) to supply authoritative answers.
I'll start a list here and update it as I go.
Q. Does operator overloading inherently make all operators slower when implemented in an engine? Basically does the operation of being able to arbitrarily change what + means on an object inherently make all + operations slower? Is this something that depends heavily on the JIT implementation?