@ericwhitedev/lcsts
    Preparing search index...

    Interface LcsSettings

    Configuration options for the LCS comparison algorithm.

    These settings control the behaviour of the compare function, including optimisation thresholds and edge-case handling. Use createLcsSettings to create an instance with sensible defaults.

    interface LcsSettings {
        detailThreshold: number;
        fastFindSearchLength: number;
        fastFindSearchMatch: number;
        findCommonAtBeginning: boolean;
        findCommonAtBeginningThreshold: number;
        findCommonAtEnd: boolean;
        findCommonAtEndThreshold: number;
    }
    Index

    Properties

    detailThreshold: number

    Minimum common-subsequence length to be considered a real match.

    fastFindSearchLength: number

    Number of positions to scan during the fast-find optimisation pass.

    fastFindSearchMatch: number

    Number of consecutive matches required for the fast-find pass to succeed.

    findCommonAtBeginning: boolean

    Whether to look for a common prefix before running the full algorithm.

    findCommonAtBeginningThreshold: number

    Minimum prefix length required to accept a common-beginning match.

    findCommonAtEnd: boolean

    Whether to look for a common suffix before running the full algorithm.

    findCommonAtEndThreshold: number

    Minimum suffix length required to accept a common-end match.