16 ms·
Java is great - right upto the point where it isn't/ Do a similar example where you want to replace the values in situ and find that Java is making a copy of t
by excuse-me 14y ago
Java is great - right upto the point where it isn't/
Do a similar example where you want to replace the values in situ and find that Java is making a copy of the entire array every time. At that point you are stuck, there is no way out. C may be difficult but it lets you do anything you want.
note: yes Java may have a flag that says do int array in place, in this case - but you know what I mean.