silverwind
2705abf7f3
perf(citation): optimize CITATION.cff rendering ( #39575 )
...
Rendering a CITATION.cff could use memory far out of proportion to the
file, as every YAML alias copies its target into the formatted citation
and the parser copies `%TAG` prefixes into every node. Files past these
limits show no citation, like unparseable ones do today.
- Skip files over 256 KiB, largest real-world file found is 80 KiB
- Skip files with `%TAG` directives
- Skip files whose aliases add more than 64 Ki nodes and value bytes
- Skip self-referencing anchors, except a sequence listing itself
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-10-04 23:50:46 +00:00
..
2026-10-01 17:34:38 +00:00
2026-08-22 08:59:37 +00:00
2026-10-04 16:26:14 +08:00
2026-07-23 17:42:55 +00:00
2026-08-26 17:24:07 +02:00
2026-10-03 10:04:24 +00:00
2026-07-19 07:32:00 +00:00
2026-09-02 19:32:33 +00:00
2026-08-11 16:33:15 +00:00
2026-08-11 16:33:15 +00:00
2026-10-03 10:04:24 +00:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-08-07 02:44:55 +00:00
2026-10-03 10:04:24 +00:00
2026-07-28 17:04:22 +00:00
2026-07-28 17:04:22 +00:00
2026-07-21 12:18:00 +00:00
2026-07-28 17:04:22 +00:00
2026-07-23 01:22:26 +00:00
2026-07-23 01:22:26 +00:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-08-05 00:17:07 +08:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-10-03 10:04:24 +00:00
2026-10-03 10:04:24 +00:00
2026-09-06 11:27:04 +02:00
2026-09-06 11:27:04 +02:00
2026-07-15 17:30:01 +00:00
2026-10-03 10:04:24 +00:00
2026-10-04 13:40:27 +00:00
2026-10-04 13:40:27 +00:00
2026-07-17 18:44:31 +08:00
2026-09-19 12:41:41 +00:00
2026-09-19 13:04:53 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-06-22 18:29:06 +00:00
2026-10-04 16:26:14 +08:00
2026-09-12 11:56:25 +00:00
2026-09-15 10:59:34 +02:00
2026-10-04 16:26:14 +08:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-10-04 16:26:14 +08:00
2026-07-28 17:04:22 +00:00
2026-08-25 12:02:31 +00:00
2026-08-29 19:54:07 +00:00
2026-09-24 09:46:24 +00:00
2026-09-24 09:46:24 +00:00
2026-07-23 14:31:29 +00:00
2026-08-21 07:52:23 +00:00
2026-08-21 07:52:23 +00:00
2026-08-25 12:02:31 +00:00
2026-10-03 10:04:24 +00:00
2026-10-04 16:26:14 +08:00
2026-10-03 10:04:24 +00:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-09-29 11:56:51 +00:00
2026-08-05 00:17:07 +08:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-04-14 12:03:26 +00:00
2026-10-03 10:04:24 +00:00
2026-05-26 15:49:31 -07:00
2026-07-23 01:22:26 +00:00
2026-09-29 20:31:50 +02:00
2026-08-28 14:17:01 -07:00
2026-09-19 12:41:41 +00:00
2026-09-15 10:59:34 +02:00
2026-10-04 16:26:14 +08:00
2026-10-04 16:26:14 +08:00
2026-10-03 10:04:24 +00:00
2026-10-03 10:04:24 +00:00
2026-07-28 17:04:22 +00:00
2025-12-25 19:26:23 -08:00
2026-10-03 10:04:24 +00:00
2026-10-03 10:04:24 +00:00
2026-09-26 17:38:42 +00:00
2026-10-03 10:04:24 +00:00
2026-08-25 12:02:31 +00:00
2026-07-28 17:04:22 +00:00
2026-07-23 17:42:55 +00:00
2026-09-19 13:04:53 +00:00
2026-09-19 13:04:53 +00:00
2026-07-28 17:04:22 +00:00
2026-10-03 10:04:24 +00:00
2026-10-01 15:51:07 +00:00
2026-10-01 15:51:07 +00:00
2026-08-22 08:59:37 +00:00
2026-10-03 10:04:24 +00:00
2026-09-29 14:43:36 +02:00
2026-10-03 10:04:24 +00:00
2026-10-04 16:26:14 +08:00
2026-10-03 10:04:24 +00:00
2026-07-23 01:22:26 +00:00
2026-07-21 12:18:00 +00:00
2026-07-23 01:22:26 +00:00
2026-05-07 16:19:45 +02:00
2026-08-22 08:59:37 +00:00
2026-10-03 10:04:24 +00:00
2026-07-28 17:04:22 +00:00
2026-04-14 12:03:26 +00:00
2026-04-14 12:03:26 +00:00
2026-10-04 23:50:46 +00:00
2026-07-28 17:04:22 +00:00
2026-10-03 10:04:24 +00:00
2025-07-30 07:08:59 +00:00
2026-08-25 12:02:31 +00:00