CLN: give the tslib.pyx comparisons a makeover