[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.
[x] I have provided test coverage for my change (where applicable)
Description
This PR refactors the Vp8LHistogram type to use pooled allocations. It also introduces the concept of a Vp8LHistogramSet type to allow allocating a single buffer for a collection.
Benchmark indicates a 20ms speedup for lossless encoding while using less than half the original allocated memory.
Prerequisites
Description
This PR refactors the
Vp8LHistogram
type to use pooled allocations. It also introduces the concept of aVp8LHistogramSet
type to allow allocating a single buffer for a collection.Benchmark indicates a 20ms speedup for lossless encoding while using less than half the original allocated memory.
Main
PR