/ascid

ascid is the self-referential cycle identifier

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

ascid

Ascid is the Self-referential Cycle IDentifier. It is capable of quickly (in linear time) detecting the maximum length repeated substrings in text files.

This is often useful, e.g., when debugging a program that loops infinitely, vi&., ascid can determine the point at which the log output loops back on itself.

Usage

$ python ascid.py FILE_TO_PROCESS