kcode-kmap-size 0.1.0

Approximate the token footprint of current Kweb Kmap node text
Documentation
  • Coverage
  • 27.27%
    3 out of 11 items documented0 out of 3 items with examples
  • Size
  • Source code size: 37.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 430.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • DavidVorick

kcode-kmap-size

kcode-kmap-size reports an intentionally approximate token footprint for the current text fields in a Kweb Kmap.

It counts the short name, short description, and long description of every current node, and reports long descriptions separately. It excludes history, provenance, connections, objects, and all other storage. The estimate uses one token per four Unicode characters; it is not a model tokenizer.

See Documentation.md for the complete API.