java is faster then c
1) Heap alloc vs stack alloc
not a problem.
optimized?
2) New object in loop
not a problem.
reuse, optimized?
3) memory copy
not a problem
substring, byte array,
case by case, write good java source.
4) boundary check
java faster then c even with additional boundary check.
5) jdk size and startup time
wait java 9 with modular!
6) for loop in java vs memcmp, memcpy in c
not a problem
like a magic
No comments:
Post a Comment