We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0def20 commit 9e6d6d7Copy full SHA for 9e6d6d7
src/corefunctionality.jl
@@ -39,9 +39,6 @@ Base.String(s::InternedString) = s.value
39
Base.endof(s::InternedString) = endof(s.value)
40
Base.next(s::InternedString, i::Int) = next(s.value, i)
41
42
-Base.sizeof(s::InternedString) = sizeof(s.value)
43
-
44
45
Base.:(==)(s1::InternedString, s2::InternedString) = s1.value === s2.value # InternedStrings have refernitally equal values
46
Base.:(==)(s1::String, s2::InternedString) = s1 == s2.value # use faster than the AbstractString equality check
47
Base.:(==)(s1::InternedString, s2::String) = s2 == s1
0 commit comments