# Keep image cleanup, import totals and copy-to-page menus linear · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/212744fce92ecbcc2ec5ee2609cd19b53a2d9eaf)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 212744fce92ecbcc2ec5ee2609cd19b53a2d9eaf

Requested commit: 212744fce92ecbcc2ec5ee2609cd19b53a2d9eaf

Commit: 212744fce92ecbcc2ec5ee2609cd19b53a2d9eaf

Tree: 36bc0b0fbe75e609bc441ed58c1e6d6a429fbc2f

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep image cleanup, import totals and copy-to-page menus linear

Image cleanup looked each file up in a list of image ids, an import added
up its results by copying every issue so far on each entry, and every item
on a page worked out its Copy to next/previous page menu by sorting the
pages and scanning both neighbours as it built. Each grew with the square
of the data.

Cleanup uses a set; imports keep one running total; the copy menus read
the neighbouring pages' ids from an index built once per saved strategy
and page on screen (local) or once per version of the page's items
(cloud).

```

## Parents

- [811c2d23805440c7ab089e99bc1b7ad2bce4cd4a](https://git.cafe/dara/icarus/commit/811c2d23805440c7ab089e99bc1b7ad2bce4cd4a?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/212744fce92ecbcc2ec5ee2609cd19b53a2d9eaf?format=markdown)
