Skip to content

chore: Merge upstream changes - #2

Merged
LisoUseInAIKyrios merged 3 commits into
MorpheApp:mainfrom
REAndroid:main
Sep 29, 2026
Merged

LisoUseInAIKyrios merged 3 commits into
MorpheApp:mainfrom
REAndroid:main

Conversation

@LisoUseInAIKyrios

Copy link
Copy Markdown

No description provided.

rotundtapir and others added 3 commits September 27, 2026 14:45
add(index, item) went through slideRight(), which reserved exactly the
missing slot, so every insertion reallocated and copied the whole array.
Building a type block entry by entry, as merging tables does, was quadratic
because of it.

Also fix ensureCapacity(int) allocating too little when some capacity is
already free: it subtracted the free slots from the request and then added
the result to the size instead of to the current length, which could leave
fewer free slots than asked for.
Grow ArrayCollection geometrically when inserting at an index
@LisoUseInAIKyrios
LisoUseInAIKyrios merged commit 88d5e08 into MorpheApp:main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants