From 5edce67f73f82d58847c6354773bbe53ec3c2b06 Mon Sep 17 00:00:00 2001 From: caitsith2 Date: Sat, 25 Aug 2018 15:31:26 -0700 Subject: [PATCH] Also optimize a filename check... ... to avoid 3 rounds of recursion per check. --- libhac.Nand/DiscUtils.Fat/FileName.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhac.Nand/DiscUtils.Fat/FileName.cs b/libhac.Nand/DiscUtils.Fat/FileName.cs index 5966e79a..1e37965c 100644 --- a/libhac.Nand/DiscUtils.Fat/FileName.cs +++ b/libhac.Nand/DiscUtils.Fat/FileName.cs @@ -126,7 +126,7 @@ namespace DiscUtils.Fat public bool Equals(FileName other) { - if (other == null) + if (other is null) { return false; }