projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

Rename attribute for a fractional speed increase #241

Closed martindholmes closed 2 years ago

martindholmes commented 2 years ago

The attribute data-staticSearch-relativeUri is created and used only during the tokenizing and JSON steps, so it doesn't need to be a valid HTML attribute value, and could be renamed to ss-uri to reduce the size of tokenized files and optimize i/o and parsing a bit.

joeytakeda commented 2 years ago

Will do this now -- branch issue-241-ss-uri

joeytakeda commented 2 years ago

PR ready now

martindholmes commented 2 years ago

Thanks @joeytakeda. Merged, closing now.