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

Issue 1120703003: Try to take advantage of unused bytes at end of string. (Closed)

Created:
5 years, 7 months ago by Tom Sepez
Modified:
5 years, 7 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Try to take advantage of unused bytes at end of CFX_ByteString. Given the representation of StringData, it seems sub-optimal not to be doing this. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/cd051604b1b5f8555cf692b91d0105d7a7117feb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M core/src/fxcrt/fx_basic_bstring.cpp View 1 chunk +15 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Tom Sepez
Lei, I noticed this the other day, and it annoyed me.
5 years, 7 months ago (2015-04-30 18:09:44 UTC) #2
Lei Zhang
lgtm
5 years, 7 months ago (2015-04-30 20:46:38 UTC) #3
Tom Sepez
5 years, 7 months ago (2015-04-30 22:21:22 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
cd051604b1b5f8555cf692b91d0105d7a7117feb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698