Generate terms of Gijswijt's sequence (OEIS A090822) C version much faster. Probably because memcmp and memcpy are likely faster than however python does it under the hood.