Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Improve copy performance. #614

Merged
merged 6 commits into from
Oct 11, 2012
Merged

Conversation

mojit0
Copy link
Contributor

@mojit0 mojit0 commented Oct 11, 2012

Updated array checks to use Y.Lang.isArray to leverage native JS array tests.
Added new "blend" routine to avoid unnecessary overhead in copy/merge pairing.
Replaced copy/merge pairings with blend() calls.
Added unit tests for blend().
Removed duplicate mergeRecursive routines to avoid confusion/bugs.

Updated array checks to use Y.Lang.isArray to leverage native JS array tests.
Added new "blend" routine to avoid unnecessary overhead in copy/merge pairing.
Replaced copy/merge pairings with blend() calls.
Added unit tests for blend().
Removed duplicate mergeRecursive routines to avoid confusion/bugs.
@caridy
Copy link
Contributor

caridy commented Oct 11, 2012

Just remove the block that is not needed, then +1

mojit0 added a commit that referenced this pull request Oct 11, 2012
@mojit0 mojit0 merged commit 7a79647 into YahooArchive:develop-perf Oct 11, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants