According to the numba documentation, sets are supported: “All methods and operations on sets are supported in JIT-compiled functions. […] Sets must be strictly homogeneous”
However, when I try creating a set with string values, it doesn’t work:
@numba.njit def set_numba(): s = set() s.add('TEST') set_numba()
TypingError: - Resolution failure for literal arguments: AssertionError() - Resolution failure for non-literal arguments: AssertionError() During: resolving callee type: BoundFunction(set.add for set(undefined))
Can someone explain what’s going on here?