Skip to content

Meta issue for discussion of a lazy API #3

@leafpetersen

Description

@leafpetersen

Do we need to provide lazy casting/parsing? That is, instead of eagerly casting, instead return delegating (and probably memoizing) implementations of the returned type that only cast on reads.

It's not clear that laziness makes sense for the parsing case, but it's possible. For the cast conversion case, converting lazily would be beneficial when reads are sparse, but harmful when reads are dense.

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