C
public c v1 · immutable#include <stdio.h>#include <time.h>#include <limits.h>int main(){ time_t start,end; int something; int i; long long a,b; time(&start); for(i=0;i<INT_MAX;i++){ if(a==b){ something = 1; }else { something = 0; } } time(&end); printf("8b int took - %lus\n",end-start); char a_char[8],b_char[8]; time(&start); for(i=0;i<INT_MAX;i++){ if(strcmp(a_char,b_char)>0){ something = 1; }else { something = 0; } } time(&end); printf("8b char took - %lus\n",end-start); return 0;}