Bug Tracker

Modify

Ticket #9419 (closed enhancement: invalid)

Opened 2 years ago

Last modified 2 years ago

Faster deep cloning of objects

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

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

comment:1 Changed 2 years ago by rwaldron

  • Owner set to strada
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to core

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

comment:2 Changed 2 years ago by rkatic

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

comment:3 Changed 2 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 2 years ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

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!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.