2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/scripts/lib/kdoc
Jonathan Corbet 8078e0ed1f docs: kdoc: micro-optimize KernRe
Rework _add_regex() to avoid doing the lookup twice for the (hopefully
common) cache-hit case.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tested-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250703184403.274408-3-corbet@lwn.net
2025-07-08 08:06:25 -06:00
..
kdoc_files.py scripts: kernel-doc: prevent a KeyError when checking output 2025-05-21 03:53:40 -06:00
kdoc_output.py scripts/lib/kdoc: change mode to 0644 2025-04-28 17:28:14 -06:00
kdoc_parser.py docs: kdoc: don't reinvent string.strip() 2025-07-08 08:06:25 -06:00
kdoc_re.py docs: kdoc: micro-optimize KernRe 2025-07-08 08:06:25 -06:00