File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ If neither `x` nor `y` is null, compare them according to their values
105
105
(i.e. `isequal(get(x), get(y))`). Else, return `true` if both arguments are null,
106
106
and `false` if one is null but not the other: nulls are considered equal.
107
107
"""
108
- function isequal {S,T} (x:: Nullable{S} , y:: Nullable{T} )
108
+ @inline function isequal {S,T} (x:: Nullable{S} , y:: Nullable{T} )
109
109
if null_safe_op (isequal, S, T)
110
110
(x. isnull & y. isnull) | (! x. isnull & ! y. isnull & isequal (x. value, y. value))
111
111
else
@@ -132,7 +132,7 @@ If neither `x` nor `y` is null, compare them according to their values
132
132
otherwise: nulls are always considered greater than non-nulls, but not greater than
133
133
another null.
134
134
"""
135
- function isless {S,T} (x:: Nullable{S} , y:: Nullable{T} )
135
+ @inline function isless {S,T} (x:: Nullable{S} , y:: Nullable{T} )
136
136
# NULL values are sorted last
137
137
if null_safe_op (isless, S, T)
138
138
(! x. isnull & y. isnull) | (! x. isnull & ! y. isnull & isless (x. value, y. value))
You can’t perform that action at this time.
0 commit comments