{"version":"2.1.311","anchor":"sse-stream-guard-has-a-fast-path-and-faster-long-line-scanni","canonical_anchor":"sse-stream-guard-has-a-fast-path-and-faster-long-line-scanni","heading":"Faster size checks on streamed responses","tier":"internal","area":"Performance","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/sse-stream-guard-has-a-fast-path-and-faster-long-line-scanni","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Faster size checks on streamed responses\n\nThe size limit check on streamed data now skips work it does not need and scans long lines faster\n\n**What**\n\nClaude Code limits how large a stream of data can get, where a stream is data that arrives in pieces over time rather than all at once. That check now skips scanning line by line when the limit per event is at least as large as the limit for the whole response. For long lines, it jumps straight to the next line break instead of counting every byte.\n\n**Why**\n\nThis is a speed improvement only. Nothing about what is allowed through changes.\n\n- Area: Performance\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}