optimization/model:refactor LOTData class to optimize memory accepted/tizen/unified/20190818.221648 submit/tizen/20190812.090759 submit/tizen/20190813.054738 submit/tizen/20190814.085144
authorsub.mohanty@samsung.com <smohantty@gmail.com>
Sat, 3 Aug 2019 06:47:11 +0000 (15:47 +0900)
committerHermet Park <hermetpark@gmail.com>
Mon, 12 Aug 2019 08:32:07 +0000 (17:32 +0900)
commit13e96f01d2e7d63b457e88870fbc3e0468b147d9
treef3218d451a980f6bb469d94baccd1b624ba25898
parentaf4dd06748c36ac5cf2fc5925936987356ca5752
optimization/model:refactor LOTData class to optimize memory
As std::string uses short buffer optimization internally and because of
structure allignment the size of the LOTData was 32 byte.
by handling short buffer optimization ourself now size is reduced
from 32byte to 16 byte.

Change-Id: Icf7d43fb7f93d3dd9ee568130be7bf250809c98c
src/lottie/lottiemodel.h