Parsing can become accidentally quadratic because of sscanf

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/programming

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • rapidyaml

    Rapid YAML - a library to parse and emit YAML, and do it fast.

  • freebsd-src

    FreeBSD src tree (read-only mirror)

    My cursory glance at the FreeBSD implementation of sscanf leads me to believe that it calls strlen just so that it can provide the size for a fake FILE struct that it uses to share an implementation between sscanf and fscanf.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • libfive

    Infrastructure for solid modeling

    What I don't understand is how the linked commit (https://github.com/libfive/libfive/commit/6c6b4ad91ab1b443969ce8d4300a30e8ecd5d8b2) fixes anything? I see one noticeable change from i=0 to i=1, but otherwise how does that code fix anything?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts