Faster Symbol listing/filtering.

Use a QSet to improve performance.