Re: does call site polymorphism factor in method overrides?

2019-12-30 Thread Wojciech Kudla
Hi Brian, I think I can safely assume your question was dictated by (perfectly valid) concerns about method dispatch cost in extremely latency sensitive sections of code. After all, we've used to work together on the same problem space in the same institution only weeks ago. Vitaly provided a

Re: does call site polymorphism factor in method overrides?

2019-12-30 Thread Remi Forax
> De: "Vitaly Davidovich" > À: "mechanical-sympathy" > Envoyé: Lundi 30 Décembre 2019 19:43:27 > Objet: Re: does call site polymorphism factor in method overrides? > On Mon, Dec 30, 2019 at 1:09 PM Remi Forax < [ mailto:fo...@univ-mlv.fr | > fo...@univ-mlv.fr ] > wrote: >>> De: "Brian Harris"

Re: does call site polymorphism factor in method overrides?

2019-12-30 Thread Vitaly Davidovich
On Mon, Dec 30, 2019 at 1:09 PM Remi Forax wrote: > > > -- > > *De: *"Brian Harris" > *À: *"mechanical-sympathy" > *Envoyé: *Lundi 30 Décembre 2019 17:13:38 > *Objet: *Re: does call site polymorphism factor in method overrides? > > Good to know Vitaly! > So a poor

Re: does call site polymorphism factor in method overrides?

2019-12-30 Thread Remi Forax
> De: "Brian Harris" > À: "mechanical-sympathy" > Envoyé: Lundi 30 Décembre 2019 17:13:38 > Objet: Re: does call site polymorphism factor in method overrides? > Good to know Vitaly! > So a poor example then. Better example is an abstract class with a method > implementation that no subtypes

Re: does call site polymorphism factor in method overrides?

2019-12-30 Thread Brian Harris
Good to know Vitaly! So a poor example then. Better example is an abstract class with a method implementation that no subtypes override, yet multiple subtypes are found to be the receiver of a particular call site. Should we expect a monomorphic call site in that case. On Sun, Dec 29, 2019 at