nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
53 stars 4 forks source link

Cache Unicode length computation #101

Closed nkh closed 10 months ago

nkh commented 1 year ago

In the GUI, the rendering are cached which also caches the length computation, in the TUI rendering no cache is used.

Although it's unlikely that large diagrams will be created in the TUI, it is possible to cache the Unicode length computation at the string level.

nkh commented 10 months ago

unlikely to be needed