From b61cd3a869b132f8019a9db6426e6ddca8e05e9b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 7 Dec 2019 12:05:58 -0800 Subject: [PATCH] =?UTF-8?q?Hash=20just=20the=20webFeedID=20in=20WebFeed?= =?UTF-8?q?=E2=80=99s=20hash=20function.=20This=20will=20almost=20always?= =?UTF-8?q?=20be=20unique,=20and=20it=20helps=20performance=20because=201)?= =?UTF-8?q?=20string=20hashing=20is=20slow,=20and=202)=20we=20update=20set?= =?UTF-8?q?s=20of=20WebFeeds=20kind=20of=20often.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/Account/WebFeed.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Frameworks/Account/WebFeed.swift b/Frameworks/Account/WebFeed.swift index 757d31e6e..8fd7d0e7c 100644 --- a/Frameworks/Account/WebFeed.swift +++ b/Frameworks/Account/WebFeed.swift @@ -232,7 +232,6 @@ public final class WebFeed: Feed, Renamable, Hashable { public func hash(into hasher: inout Hasher) { hasher.combine(webFeedID) - hasher.combine(accountID) } // MARK: - Equatable