NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
When can the C++ compiler devirtualize a call? (quuxplusone.github.io)
lowbloodsugar 27 minutes ago [-]
For comparison, Java will devirtualize calls if the call site typically calls only a single type. To the extent that writing a byte to a ByteBuffer, which looks like five or six virtual calls if you follow the java source code, actually ends up being a single assembly store instruction.
Miagg 2 days ago [-]
[flagged]
a_t48 2 hours ago [-]
What's this a quote from?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 03:13:01 GMT+0000 (Coordinated Universal Time) with Vercel.