|
|
|
|
|
by antonhag
1081 days ago
|
|
It is quite common that you only need to optimize very small parts of a program to this level. The rest of the program can be written in more conventional styles. You could of course FFI into e.g. C for those parts, but that is usually harder to maintain than a few well optimized java classes. |
|
It's a quite common myth developers believe about performance. Hotspots do happen sometimes, but once they have been optimized you quicky end up with a flat profile and an "everything is slow" problem. And in some types of apps, the majority of code is performance critical.