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

Issue 734053006: Subzero: Use std::vector<> instead of std::list for live range segments. (Closed)

Created:
6 years ago by Jim Stichnoth
Modified:
6 years ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Use std::vector<> instead of std::list for live range segments. This generally uses less memory and fewer allocations. Also removes the commented-out alternative implementation using std::set<>, which would almost certainly never be a good idea here. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2a7fcbb4aa216dc4db4216a5275a3471da25f7c5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -48 lines) Patch
M src/IceDefs.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/IceOperand.h View 2 chunks +8 lines, -11 lines 0 comments Download
M src/IceOperand.cpp View 3 chunks +4 lines, -33 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Jim Stichnoth
This looks like another 1-2% gain on pnacl-llc.pexe.
6 years ago (2014-12-04 18:28:51 UTC) #2
jvoung (off chromium)
lgtm
6 years ago (2014-12-04 18:56:16 UTC) #3
Jim Stichnoth
6 years ago (2014-12-04 19:45:10 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
2a7fcbb4aa216dc4db4216a5275a3471da25f7c5 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698