Skip to content

Commit 9622100

Browse files
committed
Updated to Java commit 405d24d (2011-10-07): fast path for (= char char)
1 parent d7d48e1 commit 9622100

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Clojure/Clojure/Lib/Util.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ public static bool equiv(bool x, object y)
107107
return equiv((object)x, y);
108108
}
109109

110+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "equiv")]
111+
public static bool equiv(char x, char y)
112+
{
113+
return x == y;
114+
}
110115

111116

112117
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "pcequiv")]

0 commit comments

Comments
 (0)