Skip to main content

Bug Tracker

Side navigation

#9419 closed enhancement (invalid)

Opened May 25, 2011 12:20PM UTC

Closed June 19, 2011 08:06AM UTC

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

Attachments (0)
Change History (4)

Changed May 25, 2011 07:04PM UTC by rwaldron comment:1

component: unfiledcore
owner: → strada
priority: undecidedlow
status: newpending

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

Changed May 26, 2011 04:37AM UTC by rkatic comment:2

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

Changed June 05, 2011 02:08AM UTC by rpflorence@gmail.com comment:3

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

Changed June 19, 2011 08:06AM UTC by trac-o-bot comment:4

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!