Skip to content

Separate Interning of Primitive Data #3385

@djg

Description

@djg
Contributor

Profiling of displaylist_mutate has shown a lot of time spent in memcpy or realloc during scene building surrounding adding primitives. Split apart PrimitiveKeyKind so to not pay the cost of large enum variants for small, common primitives.

  • LineDecoration
    NormalBorder
    ImageBorder
    Rectangle
    YuvImage
    Image
    LinearGradient
    RadialGradient
    TextRun
    Picture

Activity

added a commit that references this issue on Dec 7, 2018
74b9312
added 3 commits that reference this issue on Dec 18, 2018
1126699
d554558
14df2e4
added a commit that references this issue on Dec 19, 2018
3441199
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

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @djg

        Issue actions

          Separate Interning of Primitive Data · Issue #3385 · servo/webrender