4 ms·
His classes are doing a single multiplication, of course dynamic dispatch would have a significant cost in this scenario.
by mmarq 4y ago
His classes are doing a single multiplication, of course dynamic dispatch would have a significant cost in this scenario.
- Olreich 4y agoNever look at the dispatch of a big company’s Java code base then. It’s dynamic dispatch 400 layers deep for a single network call or file op or small amount of math. Sure those are more expensive operations, but the dynamic dispatch has continually out scaled the problem.
- mmarq 4y agoBut the company that uses Java quite often is writing the umpteenth line-of-business application, where dynamic dispatch is not going to cause a massive overhead