|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
Accelerator structure to reduce memory requirements by enabling reuse of resolved tags. More...
#include <tag.hpp>
Classes | |
| struct | Entry |
| struct | LookupResult |
Public Types | |
| using | Entries = detail::stack< Entry > |
| using | const_iterator = id_type |
Public Member Functions | |
| TagCache () noexcept | |
| LookupResult | find (csubstr tag, id_type doc_id, id_type linear_threshold=Entries::sso_size) const noexcept |
| void | add (csubstr tag, csubstr resolved, id_type doc_id, const_iterator pos) RYML_NOEXCEPT |
| void | clear () noexcept |
Accelerator structure to reduce memory requirements by enabling reuse of resolved tags.
| using c4::yml::TagCache::Entries = detail::stack<Entry> |
|
inlinenoexcept |
|
noexcept |
Definition at line 539 of file tag.cpp.
| void c4::yml::TagCache::add | ( | csubstr | tag, |
| csubstr | resolved, | ||
| id_type | doc_id, | ||
| const_iterator | pos | ||
| ) |
Definition at line 596 of file tag.cpp.
|
inlinenoexcept |
Definition at line 93 of file tag.hpp.
Referenced by c4::yml::EventHandlerTree::reset(), and c4::yml::extra::EventHandlerInts::reset().