Closed dmarx closed 7 years ago
Simple solution: instead of trying to identify top two in a single pass, just collect (subreddit, user count) tuples into a list associated with their community, then sort the list and take the top two. Should be trivially fast with the small data I'm working with.
closed with commit aa2216f
Communities are supposed to be labeled based on their two largest subreddits by active user count, but that doesn't seem to be working properly.