Exemplo n.º 1
0
        public SortedDictionary <string, string[]> ComparePopularityTransfers(
            PopularityTransferData oldData,
            PopularityTransferData newData)
        {
            // Ignore case changes in popularity transfers.
            var stopwatch = Stopwatch.StartNew();
            var result    = CompareData(
                oldData,
                newData,
                "package ID",
                "popularity transfers",
                StringComparer.OrdinalIgnoreCase);

            stopwatch.Stop();
            _telemetryService.TrackPopularityTransfersSetComparison(oldData.Count, newData.Count, result.Count, stopwatch.Elapsed);

            return(result);
        }