compare swig