swift-highlight

master

memory-efficient attributed text storage for server applications
tayloraswift/swift-highlight

highlight
0.1.4

swift-highlight is a pure-Swift data structure library designed for server applications that need to store a lot of styled text. The Notebook module is memory-efficient and uses slab allocations and small-string optimizations to pack large amounts of styled text into a small amount of memory, while still supporting efficient traversal through the Sequence protocol.

Importing this module will expose the following top-level symbol(s):

  • struct NotebookStorage

  • struct NotebookContent<Color>

  • struct Notebook<Color, Link>

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Nov 21 2024 08:47:04 GMT-1000 (Hawaii-Aleutian Standard Time)