Parsing can become accidentally quadratic because of sscanf

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rapidyaml

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

  • freebsd-src

    The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....

  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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