3 ms·
Time-space trade-off. Meaning Java uses a lot of memory for almost anything. Speed isn't everything.
by alecco 18y ago
Time-space trade-off. Meaning Java uses a lot of memory for almost anything. Speed isn't everything.
- michaelneale 18y agoSometimes memory can cost speed as well. I find with java essentially you are amortising gains which are payed back with GC at a later date (in many cases I guess it is worth it). Its not one size fits all !
- pohl 18y agoThis sounds like it had less to do with Java and more to do with a large number of short-lived allocations in your design. A garbage collector can be abused in any language that has one.