Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9419 closed enhancement (invalid)

Faster deep cloning of objects

Reported by: strada Owned by: strada
Priority: low Milestone: 1.next
Component: core Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description

Is it possible to utilize Object.create inside JQuery.extend with deep option to make deep cloning faster? Seems like the latest versions of all browsers have support for it, there is a performance benefit in the native method.

http://forum.jquery.com/topic/faster-deep-cloning-of-objects

Change History (4)

comment:1 Changed 8 years ago by Rick Waldron

Component: unfiledcore
Owner: set to strada
Priority: undecidedlow
Status: newpending

Are you interested in providing a testable implementation? If not, I will gladly grab this ticket

comment:2 Changed 8 years ago by Robert Katić

"Deep Copying" and "Object Inheritance" (Object.create) are two completely different things.

comment:3 Changed 8 years ago by rpflorence@…

Copying and inheriting are wildly different. Please see my comments on the forum thread here: http://forum.jquery.com/topic/faster-deep-cloning-of-objects#14737000002431343

comment:4 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.