Text this: Ultra-fast 1-bit comparator using nonlinear photonic crystalbased ring resonators