Files
bun.sh/docs
robobun 83293ea50c Document postMessage fast paths in workers.md (#22315)
## Summary

- Documents the two new fast path optimizations for postMessage in
workers
- Adds performance details and usage examples for string and simple
object fast paths
- Explains the conditions under which fast paths activate

## Background

This documents the performance improvements introduced in #22279 which
added fast paths for:

1. **String fast path** - Bypasses structured clone for pure strings
2. **Simple object fast path** - Optimized serialization for plain
objects with primitive values

The optimizations provide 2-241x performance improvements while
maintaining full compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2025-09-01 18:19:22 -07:00
..
2025-09-01 01:10:22 -07:00
2025-07-10 00:10:43 -07:00
2025-09-01 01:10:22 -07:00
2023-09-07 10:09:09 -07:00
2023-02-23 17:13:30 -08:00
2025-07-10 00:10:43 -07:00
2025-07-10 00:10:43 -07:00