This is just a small optimization: we reuse empty tab numbers. So there’s no wasted numbering.
In Jollpi Text Editor, when you close tab n and k, then open a new one — it immediately fills those empty slots. Simple, but it keeps the tab order clean and consistent.
Even when opening multiple windows, memory usage remains efficient. Spinning up ten separate windows adds only a minimal memory footprint — the efficiency is noticeable.



