Skip to content

Refactor String module to rebuild internals directly on changes #78

Description

@defname

In the moment a flag is set and internal caches are calculated lazy if they are needed. This makes it impossible to mark parameters for strictly reading functions as const, since that's the moment the caches need to build up.

More ideas to think about

  • StringView and String could use a same StringCommon base to make castinf possible.

  • StringViewcoudl store a pointer to the original String to use the precalculated indexes for enabling fast character lookup, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions