Skip to content

Commit e2a93ce

Browse files
authored
Merge pull request #4 from yangyubo/main
Slight performance improvement
2 parents ccd4210 + fb110c7 commit e2a93ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ public final class PersistentHistoryTrackingKit {
100100
by: fetcher,
101101
logger: sendMessage
102102
)
103-
103+
104+
if transactions.isEmpty { continue }
105+
104106
// merge
105107
mergeTransactionsInContexts(
106108
transactions: transactions,

0 commit comments

Comments
 (0)