Skip to content

plotly is using __proto__ which slows down the script?! #1445

@marcinwojciechowski

Description

@marcinwojciechowski

Hello,
I have found that in FF browser i got a warning telling:
"mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create"

When I search the net what does that means I have found this stackoverflow ticket: http://stackoverflow.com/questions/23807805/why-is-mutating-the-prototype-of-an-object-bad-for-performance

Can you say something about that? Does it really impact the performance?

Best regards,
Marcin

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

    Issue actions