How can I deploy cache when the order of arguments doesn’t matter?
Say I have a function func
, which happens to have the property that func(a, b) == func(b, a)
is always True
.
How can I deploy cache when the order of arguments doesn’t matter?
Say I have a function func
, which happens to have the property that func(a, b) == func(b, a)
is always True
.
How can I deploy cache when the order of arguments doesn’t matter?
Say I have a function func
, which happens to have the property that func(a, b) == func(b, a)
is always True
.