Pieter Eendebak
36fe7784b0
gh-150942: Speed up json.loads array and object decoding (GH-150945)
...
Append parsed values to the result list with _PyList_AppendTakeRef and
insert key/value pairs with _PyDict_SetItem_Take2, which take ownership of
the references instead of incref-ing on insert and then decref-ing the
local. This removes a reference-count round-trip per element (and, on the
free-threaded build, a per-append lock).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-11 17:38:49 +01:00
..
2026-06-02 21:13:34 +01:00
2026-06-01 13:41:21 -05:00
2026-05-15 14:42:30 +02:00
2026-06-09 12:31:44 +02:00
2026-05-24 16:16:12 +03:00
2026-05-26 01:37:14 +01:00
2026-06-04 16:41:47 +03:00
2026-06-07 21:06:36 +09:00
2026-03-25 07:44:47 +01:00
2026-06-09 11:11:17 +00:00
2026-06-11 09:38:31 -07:00
2026-06-09 11:11:17 +00:00
2026-04-09 08:52:30 +01:00
2026-05-24 15:03:22 +03:00
2026-05-24 16:16:12 +03:00
2026-06-04 13:31:31 +00:00
2026-05-14 01:21:03 +02:00
2026-05-24 16:16:12 +03:00
2026-06-02 21:13:34 +01:00
2026-05-24 16:16:12 +03:00
2026-06-07 08:19:05 -07:00
2026-05-24 16:16:12 +03:00
2026-06-04 13:31:31 +00:00
2026-04-11 15:18:02 -07:00
2026-05-24 15:02:12 +03:00
2026-05-24 15:02:12 +03:00
2026-06-09 11:44:37 +00:00
2026-05-24 16:16:12 +03:00
2026-05-27 13:23:28 +03:00
2026-06-02 21:13:34 +01:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-06-10 18:59:11 +03:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-06-11 17:38:49 +01:00
2026-03-24 17:47:55 +00:00
2026-04-07 22:56:19 +02:00
2026-05-28 08:05:03 -07:00
2026-05-24 16:16:12 +03:00
2026-04-02 23:20:13 +02:00
2026-06-01 17:32:13 +03:00
2026-05-24 16:16:12 +03:00
2026-06-02 21:13:34 +01:00
2026-05-18 18:39:54 +03:00
2026-05-03 20:20:51 +00:00
2026-04-15 15:59:02 +02:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-03-26 15:26:34 +01:00
2026-06-09 11:11:17 +00:00
2026-03-17 12:16:35 +02:00
2026-05-22 21:47:32 +02:00
2026-06-09 11:11:17 +00:00
2026-05-24 16:16:12 +03:00
2026-04-08 09:15:11 +02:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-06-09 19:42:08 +03:00
2026-04-04 13:29:17 +01:00
2026-06-02 21:13:34 +01:00
2026-03-24 17:47:55 +00:00
2026-05-12 22:46:46 +03:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00
2026-05-24 16:16:12 +03:00
2026-03-24 17:47:55 +00:00
2026-06-06 17:03:04 +00:00
2026-03-09 19:37:33 +00:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00
2026-06-02 21:13:34 +01:00
2026-04-02 23:20:13 +02:00
2026-03-24 17:47:55 +00:00
2026-06-06 10:19:45 +00:00
2026-03-24 17:47:55 +00:00
2026-06-07 16:01:24 +03:00
2026-05-24 16:16:12 +03:00
2026-06-11 15:48:08 +00:00
2026-03-24 17:47:55 +00:00
2026-05-30 00:23:32 +03:00
2026-05-30 19:26:05 +00:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00
2026-05-13 18:35:50 +02:00
2026-06-09 11:11:17 +00:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00
2026-06-10 13:03:49 +00:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00
2026-05-26 01:37:14 +01:00
2026-06-06 11:34:33 +03:00
2026-06-06 11:34:33 +03:00
2026-02-18 12:58:21 +02:00
2026-05-13 18:35:50 +02:00
2026-05-13 18:35:50 +02:00
2026-05-13 18:35:50 +02:00
2026-03-24 17:47:55 +00:00
2026-03-24 17:47:55 +00:00
2026-05-24 16:16:12 +03:00