2 ms·
Many things that Java does with a single instruction take much more than that in the target architecture. For example, virtual calls (which are used almost ever
by johncolanduoni 9y ago
Many things that Java does with a single instruction take much more than that in the target architecture. For example, virtual calls (which are used almost everywhere in Java) take several instructions on x86 and ARM while only one in Java or Dalvik bytecode.