Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85497

IDL: make gen_trie generate a complete lookup function

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: