Fast at any size
Pikos 0.4.1 opens a page in about 61 milliseconds with half a million pages in your workspace. With fifty pages it takes 49. Searching, switching views, and marking a task done all stay under a tenth of a second at either size.
Half a million pages is ten new pages a day for 137 years. Nobody will get there. Measuring that far is how to know that the size of your workspace is never the reason Pikos feels slow.
Why it matters
A lot of notes apps get slower the more you put in them. Search drags, opening the app drags, and eventually you keep a second, lighter app just for quick notes. That's the exact problem an app for notes, tasks, and calendar in one place is meant to solve, and the more you use Pikos, the more there is to lose if it went that way.
What changed
It only loads what you can see. Pikos used to read every page into memory when it started. Now it reads the part of a list that's on screen, and the next part as you scroll. That's why a folder with thousands of pages opens as fast as one with ten, and why Pikos uses about the same memory either way.
Saves don't stall. Every so often the database tidies up after itself. That used to happen in the middle of a save, so one save in a while took ten to twenty times longer than the rest. It now happens in the background.
Clicks don't wait. Pikos used to pause for a moment after you clicked a page or typed in search, in case you were about to do it again. Now a click opens the page straight away, and a search runs as soon as you stop typing.
Keeping it fast
Speed has a way of slipping back. A change that makes one thing easier can make another slower, and nobody notices for months.
So it's checked on every change. If opening a large folder starts doing more work than it should, the change fails before it's merged. And a release can't go out until the full benchmark has run on a real laptop with every action coming in under a tenth of a second.
Check it yourself
The speed page has every number, the laptop they were measured on, and how they were measured. It also has the commands to build the same half-million-page workspace and time it on your own machine. Your numbers will depend on your hardware, but half a million pages should feel about the same as two thousand.
What's next
Two things aren't as fast as the rest yet. Opening the app takes about half a second, and about two thirds of a second at half a million pages. And typing in a very long page is the next thing to measure properly. Its numbers go on the speed page when they're good.
0.4.1 is a free update. If you already have Pikos, it offers the update the next time you open it. If you don't, download it here.