Speed up descriptor lookup in SimpleFeatureTypeImpl

Description

Currently getDescriptor(String) is delegate to the base feature implementation, which is quite inefficient as it ends up building extra objects. The call show up prominently in profiles while rendering complex maps with many attribute dependent rules (e.g., OSM like styles) and can be optimized in the same way as getting the values has already been optimized.

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure