sp_attribute_lookup with std::map
- in
sp_attribute_lookup
: replace linear array search withstd::map
lookup - in
SPStylePropHelper
: remove duplicated lookup logic, usesp_attribute_lookup
sp_attribute_lookup
: replace linear array search with std::map
lookupSPStylePropHelper
: remove duplicated lookup logic, use sp_attribute_lookup