mirror of
https://github.com/fadden/6502bench.git
synced 2025-11-12 00:17:52 +00:00
Multi-line comments (MLCs) can span multiple lines, and are formatted with word-wrapping. This isn't too expensive now, but languages with immutable strings aren't ideal for this sort of thing. Before we introduce fancier formatting, we want to ensure that we're not going to adversely affect rendering performance. The cache entry for a given offset is tied to the MLC object and the Formatter; if either are changed, the cached string list will not be used.
7.8 KiB
7.8 KiB