Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Issue 255453002: [refactor] Use a lookup table rather than binary search for algorithm normalization. (Closed)

Created:
6 years, 8 months ago by eroman
Modified:
6 years, 8 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Visibility:
Public.

Description

[refactor] Use a lookup table rather than binary search for algorithm normalization. Pros: Uses less space, is faster, and easier to extend with new properties. Cons: Slightly more difficult to edit. BUG=245025 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172557

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Remove key usage bits, turn it into strict refactor #

Patch Set 3 : Rebase onto master #

Patch Set 4 : rebase against TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -120 lines) Patch
M Source/modules/crypto/NormalizeAlgorithm.cpp View 1 2 3 6 chunks +212 lines, -119 lines 0 comments Download
M public/platform/WebCrypto.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
eroman
https://codereview.chromium.org/255453002/diff/2/Source/modules/crypto/NormalizeAlgorithm.cpp File Source/modules/crypto/NormalizeAlgorithm.cpp (right): https://codereview.chromium.org/255453002/diff/2/Source/modules/crypto/NormalizeAlgorithm.cpp#newcode82 Source/modules/crypto/NormalizeAlgorithm.cpp:82: struct AlgorithmInfo { Rather than introduce another switch statement ...
6 years, 8 months ago (2014-04-23 23:26:23 UTC) #1
eroman
Sorry, please hold off on this, there is an issue I need to address...
6 years, 8 months ago (2014-04-24 01:05:22 UTC) #2
eroman
OK ready for review now. (I removed the other changes and turned this into a ...
6 years, 8 months ago (2014-04-24 01:19:59 UTC) #3
abarth-chromium
LGTM but you've got a bunch of red bots...
6 years, 8 months ago (2014-04-24 14:49:40 UTC) #4
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 8 months ago (2014-04-24 19:42:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/255453002/70001
6 years, 8 months ago (2014-04-24 19:43:03 UTC) #6
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 8 months ago (2014-04-24 19:43:33 UTC) #7
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 8 months ago (2014-04-24 19:51:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/255453002/90001
6 years, 8 months ago (2014-04-24 19:51:45 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 23:28:12 UTC) #10
Message was sent while issue was closed.
Change committed as 172557

Powered by Google App Engine
This is Rietveld 408576698