Skip to content

Pathological input: Unclosed inline links (another) #218

Description

@mity

This is similar to #214 but with input generated by this:

$ python -c 'print("[a](<b" * 50000)'

Current master head (88c8ad1):

$ time python -c 'print("[a](<b" * 50000)' | ./cmark > /dev/null

real    0m15.341s
user    0m0.000s
sys     0m0.030s

Again 0.27.1 was not affected:

$ time python -c 'print("[a](<b" * 50000)' | ./cmark > /dev/null

real    0m0.109s
user    0m0.015s
sys     0m0.000s

cc @kivikakk

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo