simplify cache generation
simplify cache generation

don't use lambda to filter. this is 25% faster but really negligible.

Change-Id: Ib76470fc3a5cdfc79e497d568147b66c08e6dba1

openstack/ceilometer,openstack/ceilometer