dear is a (slowly) growing collection of Swift libraries for macOS and iOS, released into the public domain.
Knowledge should be released into public domain as much as reasonably possible. These libraries are my way of sharing what I learned with fellow engineers.
Swift language extensions and algorithms that are too general to warrant their own packages.
.package(url: "https://github.com/ivanmoskalev/dear-swift.git", from: "1.0.0")
Generic Levenshtein edit distance implementation with O(n × m) time and O(m) space complexity.
.package(url: "https://github.com/ivanmoskalev/dear-levenshtein.git", from: "1.0.0")
Swift implementation of the SA-IS algorithm for building suffix arrays in O(n) (as compared to more usual O(n × log(n)).
.package(url: "https://github.com/ivanmoskalev/dear-sais.git", from: "1.0.0")
Key-value store based on LMDB.
Please note that contributions are accepted if they align with the vision for the library. Please open an issue in the respective repository first to discuss proposed changes.
This project is released into the public domain under The Unlicense. Do whatever you want with it however you want.