Skip to content

EHypView 1.28

Choose a tag to compare

@github-actions github-actions released this 26 Oct 18:53
23fb83c

Faster on every stock machine (the AERA guidelines, "Speed: the stock machines set it"). Times measured on Hatari: a 1040 ST with TOS 1.04 and a stock Falcon (16 MHz, TOS 4.04).

The library

  • Typing in the search answers at once: the letter shows straight away, and the rows found follow in the next moment. Before, a letter took up to 34 s on an ST; now it takes 0.07 s (0.03 on a Falcon).
  • The full-text search no longer holds the machine. It works in short slices (0.1 s on an ST, 0.05 on a Falcon), and what it finds appears as it goes. It also opens each hypertext once, not once for every page.
  • The library opens faster: 0.8 s on an ST, down from 2.5 s (0.3 on a Falcon, down from 0.7).
  • The rows, the slider and the info line are drawn in turns of their own, so the window stays responsive while a search runs.

The viewer

  • Pages draw and scroll several times faster. A page is drawn in 0.24 s on an ST, down from 1.2 s, and scrolled a line in 0.14 s, down from 1.2 s.
  • Text sits on the 8-pixel grid, and bold and underline are drawn the quick way, with the same pixels.
  • Pictures come after the text, with a grey box in their place until they are ready. The pictures of the last pages are kept, so going back is quick.

Shared with the family (AERA-Atari)

  • The About box is drawn in memory and shown at once, and the window under it is not redrawn.
  • Text and clipping go through the family's shared text code.

Known: on an ST, a start with a very long page (900 lines) still takes about 3 s before the first answer, and Settings takes 0.4 s to open. Both are next, in 1.29.