sususu
9992920984
Avoid copying large payloads in Antigravity reads
...
gjson.GetBytes copies the matched subtree before returning it, so every read of
request.contents on a multi-megabyte request allocated another copy of it. The
reasoning replay, executor, signature validation and session identity paths all
read whole arrays this way, and hasExplicitSession parsed the entire body with
gjson.ParseBytes on every request.
Use the no-copy helpers for these reads. Each call site only reads from the
result and writes through sjson, which allocates a new buffer, so the payload
stays immutable while the results are alive.
2026-08-09 00:40:57 +08:00
..
2026-08-08 23:25:11 +08:00
2026-07-30 23:26:20 +08:00
2026-07-31 12:45:13 +08:00
2026-07-26 14:31:45 +08:00
2026-07-26 03:07:21 +08:00
2026-07-23 13:42:08 +08:00
2026-07-26 14:31:45 +08:00
2026-08-05 00:27:32 +08:00
2026-07-07 02:39:13 +08:00
2026-07-29 17:35:29 +08:00
2026-08-05 00:27:32 +08:00
2026-08-05 00:27:32 +08:00
2026-08-05 00:27:32 +08:00
2026-08-09 00:40:57 +08:00
2026-07-25 14:07:31 +08:00
2026-07-29 09:44:05 +08:00
2026-08-09 00:40:57 +08:00
2026-06-10 03:19:26 +08:00
2026-08-03 16:09:22 +08:00
2026-07-25 23:20:17 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 15:44:44 +08:00
2026-08-05 18:25:40 +08:00
2026-08-03 15:44:44 +08:00
2026-08-03 14:47:26 +08:00
2026-08-06 17:19:24 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 21:46:27 +08:00
2026-08-06 17:19:24 +08:00
2026-08-05 18:25:40 +08:00
2026-08-03 14:47:26 +08:00
2026-08-06 17:19:24 +08:00
2026-08-03 14:47:26 +08:00
2026-08-06 17:19:24 +08:00
2026-08-03 14:47:26 +08:00
2026-08-03 14:47:26 +08:00
2026-07-26 14:31:45 +08:00
2026-07-26 03:07:21 +08:00
2026-07-11 11:42:51 +08:00
2026-08-06 17:19:24 +08:00
2026-07-18 03:58:03 +08:00
2026-08-03 02:45:49 +08:00
2026-05-08 11:46:46 +08:00
2026-07-18 03:58:03 +08:00
2026-07-24 11:10:58 -07:00
2026-07-26 19:11:32 +08:00
2026-08-06 17:19:24 +08:00
2026-06-17 07:19:02 +08:00
2026-07-14 00:35:48 +08:00
2026-08-06 04:49:28 +08:00
2026-08-06 20:49:23 +08:00
2026-08-06 17:19:24 +08:00
2026-08-06 20:49:23 +08:00
2026-08-06 17:19:24 +08:00
2026-05-31 14:38:54 +08:00
2026-07-26 14:31:45 +08:00
2026-06-08 15:47:14 +00:00
2026-07-30 16:37:40 +08:00
2026-07-31 12:45:13 +08:00
2026-08-07 19:16:06 +08:00
2026-07-26 14:31:45 +08:00
2026-08-06 04:49:28 +08:00
2026-07-23 13:42:08 +08:00
2026-08-07 19:16:06 +08:00
2026-07-26 14:31:45 +08:00
2026-08-01 13:01:33 +08:00
2026-07-26 14:31:45 +08:00
2026-07-25 00:32:37 +08:00
2026-08-06 04:49:28 +08:00
2026-07-20 13:57:14 +08:00
2026-07-30 21:53:30 +08:00
2026-08-06 17:19:24 +08:00
2026-07-29 14:14:18 +08:00
2026-07-23 13:42:08 +08:00
2026-08-08 05:08:42 +08:00
2026-08-08 05:08:42 +08:00
2026-08-08 05:08:42 +08:00
2026-07-31 22:59:13 +08:00
2026-08-05 05:13:09 +08:00
2026-08-07 06:26:33 +08:00
2026-08-03 03:37:24 +08:00
2026-08-08 06:08:23 +08:00
2026-08-07 19:16:06 +08:00
2026-08-07 19:16:06 +08:00
2026-07-23 13:42:08 +08:00
2026-07-23 13:42:08 +08:00
2026-07-26 14:31:45 +08:00
2026-08-04 18:37:01 +08:00
2026-07-27 00:01:49 +08:00
2026-08-06 17:19:24 +08:00
2026-08-07 06:48:09 +08:00
2026-07-26 14:31:45 +08:00
2026-08-05 07:28:55 +08:00
2026-07-26 14:31:45 +08:00
2026-08-05 07:28:55 +08:00
2026-07-12 23:59:39 +08:00
2026-08-07 06:48:09 +08:00
2026-08-07 06:48:09 +08:00
2026-08-07 06:48:09 +08:00