Skip to content

🎨 Shrink names for smaller symbol sizes in flow lib - #992

Merged
elbeno merged 6 commits into
intel:mainfrom
elbeno:shrink-experiments
Oct 28, 2026
Merged

elbeno merged 6 commits into
intel:mainfrom
elbeno:shrink-experiments

Conversation

@elbeno

@elbeno elbeno commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Problem:

  • Several types in the heavily-used flow library use ct_string names which can be large symbols.

Solution:

  • Shrink the names.

Problem:
- `compilation_nexus_benchmark` has an unneeded include path.

Solution:
- Remove it.
Problem:
- Flow definition functions are used at compile-time only, but are not marked
  `consteval`.

Solution:
- Mark them `consteval`.
Problem:
- `graph_builder` keeps a name template argument in its type without shrinking
  it.

Solution:
- Move `graph_builder` into a `detail` namespace and access it through an alias
  that shrinks the name.
Problem:
- Flow nodes produce larger symbols when they have longer names.

Solution:
- Use shrunk names in flow nodes.
Problem:
- `constexpr_conditional` and `runtime_conditional` produce larger symbols when
  their names are longer.

Solution:
- Shrink the names in flow conditions.
Problem:
- Internal names used in the `func_list` and friends are needlessly expanded.

Solution:
- Keep the internal names shrunk.
@mjcaisse-intel

Copy link
Copy Markdown
Contributor

Nice!

@elbeno
elbeno merged commit 6edc4af into intel:main Oct 28, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants