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

Issue 2341683005: Add string pools to save storage. (Closed)

Created:
4 years, 3 months ago by Tom Sepez
Modified:
4 years, 3 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add string pools to save storage. Adds string hashes so CFX strings will interoperate with STL unordered containers. These will be employed per-document in a subsequent cl. BUG=pdfium:597 Committed: https://pdfium.googlesource.com/pdfium/+/d9871435eb7cea00a173baf780934f9d3525329a

Patch Set 1 #

Patch Set 2 : fix compile #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -9 lines) Patch
M BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
A core/fxcrt/cfx_string_pool_template_unittest.cpp View 1 chunk +94 lines, -0 lines 7 comments Download
M core/fxcrt/fx_basic_bstring.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
A core/fxcrt/include/cfx_string_pool_template.h View 1 chunk +30 lines, -0 lines 0 comments Download
M core/fxcrt/include/fx_ext.h View 1 chunk +1 line, -9 lines 0 comments Download
M core/fxcrt/include/fx_string.h View 1 4 chunks +30 lines, -0 lines 2 comments Download

Messages

Total messages: 21 (14 generated)
Tom Sepez
Dan, for review.
4 years, 3 months ago (2016-09-15 18:56:16 UTC) #5
dsinclair
https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp File core/fxcrt/cfx_string_pool_template_unittest.cpp (right): https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp#newcode18 core/fxcrt/cfx_string_pool_template_unittest.cpp:18: // Underlying storage, if non-null, is not shared. Doesn't ...
4 years, 3 months ago (2016-09-15 20:23:26 UTC) #14
Tom Sepez
https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp File core/fxcrt/cfx_string_pool_template_unittest.cpp (right): https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp#newcode18 core/fxcrt/cfx_string_pool_template_unittest.cpp:18: // Underlying storage, if non-null, is not shared. On ...
4 years, 3 months ago (2016-09-15 20:51:24 UTC) #15
Tom Sepez
https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp File core/fxcrt/cfx_string_pool_template_unittest.cpp (right): https://codereview.chromium.org/2341683005/diff/20001/core/fxcrt/cfx_string_pool_template_unittest.cpp#newcode21 core/fxcrt/cfx_string_pool_template_unittest.cpp:21: EXPECT_NE(goats1.m_pData, goats2.m_pData); Note that we don't get here because ...
4 years, 3 months ago (2016-09-15 20:52:38 UTC) #16
dsinclair
lgtm
4 years, 3 months ago (2016-09-15 21:01:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341683005/20001
4 years, 3 months ago (2016-09-15 21:01:11 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 21:01:34 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/d9871435eb7cea00a173baf780934f9d3525...

Powered by Google App Engine
This is Rietveld 408576698