Skip to content

Compile ƒ #1

@stewdio

Description

@stewdio

Perhaps we should add a compile method that loops through all keys entries, creates a Set of numeric values used at any point, then loops through again, creating a new values property that includes all of these numeric keys / values—plugging in “last known” values for keyframes that do not define that property. This way we can instantly jump across infinite keyframes (that don’t include callbacks) super efficiently.

If we do this, do we want an autocompile boolean? That way if we’re concerned about efficiency at load time, can only compile as a last step, rather than each time we create a new keyframe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions