[SERVER-85497] IDL: make gen_trie generate a complete lookup function Created: 19/Jan/24 Updated: 26/Jan/24 Resolved: 26/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Service Arch 2024-01-22, Service Arch 2024-02-05 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 25/Jan/24 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'BillyDonahue@users.noreply.github.com', 'username': 'BillyDonahue'}Message: GitOrigin-RevId: 8823506176f91fc758644e14a6c4cfd0628702e3 |