diff options
author | 2015-04-08 14:02:31 -0700 | |
---|---|---|
committer | 2015-04-08 14:02:32 -0700 | |
commit | e2dd9408cd711777afaa9410427fb0d761ab004a (patch) | |
tree | 826b146386e80c85416b72e541d38b9410dc0777 /forth/Forth.h | |
parent | 16e833d5aac6570e134cf8e5356df635e01e092e (diff) |
Rearrange SkRecord with small N in mind
This rearranges the record pointers and types so they can go in a single array, then preallocates some space for them and for the SkVarAlloc.
picture_overhead_draw bench drops from ~1000ns to 500-600ns, with no effect on picture_overhead_nodraw.
I don't see any significant effect on large picture recording times from our .skps.
BUG=chromium:470553
Review URL: https://codereview.chromium.org/1061783002
Diffstat (limited to 'forth/Forth.h')
0 files changed, 0 insertions, 0 deletions