DescriptionSkVarAlloc
Like SkChunkAlloc, but
- does its allocation with better sympathy for malloc granularity;
- the fast path inlines entirely;
- smaller per-block overhead;
- smaller per-SkVarAlloc overhead;
- growth parameters are a little more tunable.
Its main downside is less flexibility; it supports fewer methods than SkChunkAlloc.
These current parameters bring the first allocation down from 4K to 1K,
without affecting recording time on my desktop. skiaperf.com will tell the
whole story.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/8113dd13692bc2e1fe804141d04b2cc5f03a55be
Patch Set 1 #Patch Set 2 : linux too #
Total comments: 2
Patch Set 3 : Explicit truncation. #
Messages
Total messages: 18 (7 generated)
|