You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one wants to append a IntArrayList to another IntArrayList, there's an extra copy involved due to the call to toArray():
public boolean addAll(IntIterable source)
{
return this.addAll(source.toArray());
}
Also, please relax the visibility of items to protected, so one can subclass this collection. As I understand, that was the design rationale for FastList vs. JDK ArrayList, but looks like the same mistake is repeated here :)
The text was updated successfully, but these errors were encountered:
If one wants to append a IntArrayList to another IntArrayList, there's an extra copy involved due to the call to toArray():
Also, please relax the visibility of items to protected, so one can subclass this collection. As I understand, that was the design rationale for FastList vs. JDK ArrayList, but looks like the same mistake is repeated here :)
The text was updated successfully, but these errors were encountered: