Juggle3.java and Juggle3Quick.java tests many combinations of array juggling on different kinds of arrays. It tests:
Primitive arrays (three for each kind of primitive)
Object arrays
Random arrays
A version with hashing
However when testing using primitive arrays, there is --- from a gc perspective --- no extra logic tested by going through all combinations. By removing these, we can save time and put our resources on testing other stuff.
I will keep three versions of primitive array tests (low, medium and high) with different kinds of arrays.
Also, the random array test will still test all primitive versions of arrays.
Primitive arrays (three for each kind of primitive)
Object arrays
Random arrays
A version with hashing
However when testing using primitive arrays, there is --- from a gc perspective --- no extra logic tested by going through all combinations. By removing these, we can save time and put our resources on testing other stuff.
I will keep three versions of primitive array tests (low, medium and high) with different kinds of arrays.
Also, the random array test will still test all primitive versions of arrays.