Select the types of activity you want to include in your feed.
Use compact index-state arrays in child matching
Replace set-based candidate tracking with contiguous index arrays and typed active flags in visitChildNodes to reduce hash overhead while preserving matching order and behavior.