Didn't know how json.net would handle deserialization to a hashset. Don't know why I didn't just try it to find out

Sent from my Windows Phone
________________________________
From: SLaks<mailto:notifications@github.com>
Sent: ý10/ý27/ý2013 6:20 AM
To: madskristensen/WebEssentials2013<mailto:WebEssentials2013@noreply.github.com>
Cc: Mike Lorbetske<mailto:mike.lorbetske@n3-p.com>
Subject: Re: [WebEssentials2013] Unused CSS major performance improvement (#167)


In EditorExtensions/BrowserLink/UnusedCss/SessionResult.cs:

> @@ -84,5 +96,11 @@ public void Resync()
>          {
>              _ruleUsages = RuleRegistry.Resolve(RawUsageData);
>          }
> +
> +        public void Merge(SessionResult source)
> +        {
> +            RawUsageData = RawUsageData.Union(source.RawUsageData).ToList();


Why don't you make RawUsageData a HashSet<T> and call UnionWith() to merge in-place?

—
Reply to this email directly or view it on GitHub<https://github.com/madskristensen/WebEssentials2013/pull/167/files#r7236540>.