Skip to content

Cache isBackward/isBefore #5825

@zurfyx

Description

@zurfyx

This function is particularly expensive and is being a big number of times in the core and in extensions. Caching it like we did for getNodes() can yield potential performance wins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreReconciler, DOM, Selection, Node, Events, CompositionenhancementImprovement over existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions