curl/docs
Emil Engler 92179353e5 cmdline-opts/gen.pl: improve performance
On some systems, the gen.pl script takes nearly two minutes for the
generation of the main-page, which is a completely unacceptable time.

The slow performance has two causes:
1. Use of a regex locale operator
2. Useless invokations of loops

The commit addresses the first issue by replacing the "\W" wiht
[^a-zA-Z0-9_], which is, according to regex101.com, functionally
equivalent to the previous operation, except that it is obviously
limited to ASCII only, which is fine, as the curl project is
English-only anyway.

The second issue is being addressed by only running the loop if the line
contains a "--" in it. The loop may be completeley removed in the
future.

Co-authored-by: Emanuele Torre <torreemanuele6@gmail.com>

See #8299
Fixes #9230
Closes #9232
2022-08-02 17:10:03 +02:00
..
cmdline-opts cmdline-opts/gen.pl: improve performance 2022-08-02 17:10:03 +02:00
examples Makefile.m32: add CURL_RC and CURL_STRIP variables [ci skip] 2022-07-10 22:28:14 +00:00
libcurl curl_multi_timeout.3: clarify usage 2022-07-17 23:27:55 +02:00
.gitignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
ALTSVC.md
BINDINGS.md
BUFREF.md
BUG-BOUNTY.md BUG-BOUNTY.md: mention the audit exception 2022-05-19 11:14:54 +02:00
BUGS.md BUGS.md: improve language 2022-07-26 11:18:54 +02:00
CHECKSRC.md
CIPHERS.md
CMakeLists.txt copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CODE_OF_CONDUCT.md
CODE_REVIEW.md
CODE_STYLE.md
CONTRIBUTE.md CONTRIBUTE: mention how we maintain REUSE compliance 2022-06-21 23:48:57 +02:00
curl-config.1 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CURL-DISABLE.md headers api: remove EXPERIMENTAL tag 2022-05-30 14:13:48 +02:00
DEPRECATE.md
DYNBUF.md
EXPERIMENTAL.md configure: warn about rustls being experimental 2022-06-15 23:33:00 +02:00
FAQ FAQ: remove opinionated sentence on NTLM 2022-05-20 13:40:12 +02:00
FEATURES.md FEATURES: remove yassl as TLS library for NTLM 2022-05-20 13:43:12 +02:00
GOVERNANCE.md
HELP-US.md
HISTORY.md
HSTS.md
HTTP2.md
HTTP3.md links: update dead links 2022-05-23 08:40:13 +02:00
HTTP-COOKIES.md
HYPER.md
INSTALL
INSTALL.cmake
INSTALL.md
INTERNALS.md INTERNALS: bring back the "Library symbols" section 2022-06-22 10:38:03 +02:00
KNOWN_BUGS KNOWN_BUGS: fix typo in problem description 2022-05-20 13:43:35 +02:00
MAIL-ETIQUETTE docs: remove him/her/he/she from documentation 2022-07-27 13:52:53 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
MANUAL.md
mk-ca-bundle.1 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
MQTT.md
NEW-PROTOCOL.md
options-in-versions curl: add --rate to set max request rate per time unit 2022-05-23 17:59:56 +02:00
PARALLEL-TRANSFERS.md
README.md
RELEASE-PROCEDURE.md RELEASE-NOTES: synced 2022-06-18 12:21:48 +02:00
ROADMAP.md
RUSTLS.md
SECURITY-PROCESS.md docs: remove him/her/he/she from documentation 2022-07-27 13:52:53 +02:00
SSL-PROBLEMS.md
SSLCERTS.md
THANKS THANKS: merged two entries for Evgeny Grin 2022-07-01 09:49:14 +02:00
THANKS-filter THANKS: merged two entries for Evgeny Grin 2022-07-01 09:49:14 +02:00
TheArtOfHttpScripting.md
TODO curl: add --rate to set max request rate per time unit 2022-05-23 17:59:56 +02:00
URL-SYNTAX.md
VERSIONS.md

curl logo

Documentation

you will find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you would rather see the rendered version of the documentation, check out the curl website's documentation section for general curl stuff or the libcurl section for libcurl related documentation.