Indeed. However compiling at run time takes time. Also there is all that garbage collection going on. All in all I found Java unsuitable for time critical systems.Modern Java runtimes are Just In Time compilers. Not interpreters.
Ah, OK. Sounds good.The standard Java "List" object isn't a linked list of objects. (LinkedList is a special type of generic List you can use if that would be a better choice for your use.) Most people use an ArrayList when they use a List. It's backed by one or more Arrays, so is much more memory efficient than a LinkedList - but less efficient than an Array - but handles insert/remove much easier than an Array.
Very true.As usual, knowledge of the environment you are working in is important.
Statistics: Posted by Heater — Fri Dec 29, 2023 11:35 pm