Skip to content

Use enums where possible #60

Description

@PiotrSikora

Currently, we're passing strings across the ABI boundary to represent static values. Most notable examples are properties and custom function names for hostcalls and callbacks. We should move away from those (string comparison is much more expensive than integers) and provide registries for well-known values supported across proxies.

See discussion in #42 (comment).

Activity

  1. added this to the v0.3.0 milestone on Jan 9, 2025
  2. linked a pull request that will close this issueUse identifiers in properties. #107on Sep 24, 2026
  3. linked a pull request that will close this issueUse identifiers in custom functions. #108on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions