HomePhabricator

Don't allocate attribute arrays if not required

Authored by ssastry on Feb 27 2018, 7:49 PM.

Description

Don't allocate attribute arrays if not required

  • Most tokens that go through the AttributeTransformManager come out unchanged. There is no reason to wastefully allocate new attribute arrays and new KV objects to store unchanged key-value pairs.

Change-Id: I0e839be9b1d1c21478afd26ec47ae38273f5c27f

Details