Brzezi said:
pon, 17 kwi 2006 o 13:49 GMT, Martin Gregorie napisa³(a):
but even loading not compressed jar makes overheads, because loader must
interpret jar(zip) file, but that overheads are so small, so it can be omitted
Depends on your hardware and software. Both must be considered:
- If your CPU is fast but you're using an OS with slow i/o
(e.g. Windows 9x) the JAR file most likely be faster.
- If your CPU is slow (<300 MHz) but your OS has fast, multi-threaded
i/o (e.g Linux) the chances are that using a JAR file is slower.
- If you're reading the classes over a comms line then the JAR file
will almost always be faster.