IDL: make gen_trie generate a complete lookup function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2024-01-22, Service Arch 2024-02-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This covers the early part of SERVER-83671.

      The only goal here is to institute a uniform interface for string table lookups as functions. The function signature is

      size_t someFunc(StringData s);

      So we'll generate these functions using gen_trie calls for now, but the callers will all look the same. They'll call the function and switch on the result.

      SERVER-83671 aims to replace gen_trie entirely with C++ code, it comes after this.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: