Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

optimization: remove repeated stringify in encryption #657

Merged
merged 1 commit into from
Dec 3, 2014

Conversation

compcj
Copy link
Contributor

@compcj compcj commented Dec 2, 2014

removed repeated JSON.stringify when converting to utf-8 in signature check,
v8 might not optimize such repeated JSON.stringify, result in doubled overhead, see http://jsperf.com/stringify-repeat

py8765 added a commit that referenced this pull request Dec 3, 2014
optimization: remove repeated stringify in encryption
@py8765 py8765 merged commit 3a1cdfd into NetEase:master Dec 3, 2014
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