Skip to content

memory-efficient attributed text storage for server applications

License

Notifications You must be signed in to change notification settings

tayloraswift/swift-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

memory-efficient attributed text storage for server applications

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages