Skip to content

Commit 89010b7

Browse files
committed
docs: remove AutoPack references from README and DOCS
1 parent 46c7c8b commit 89010b7

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

DOCS.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,26 +1085,7 @@ const user = await beeThreads.worker<typeof findUser>('./workers/find-user')(123
10851085
| Real-time event handling | `turbo()` |
10861086
| Cron jobs | `max()` |
10871087

1088-
### 11. Why AutoPack for object serialization?
1089-
1090-
**Decision:** Use AutoPack to convert arrays of objects into TypedArrays before postMessage transfer, providing 1.5-10x faster serialization than structuredClone.
1091-
1092-
**Performance benchmarks (1M objects, Node.js):**
1093-
1094-
| Object Type | structuredClone | AutoPack | Speedup |
1095-
|-------------|-----------------|----------|---------|
1096-
| Numeric (5 fields) | 2275ms | 698ms | **3.3x** |
1097-
| String (2 fields) | 2150ms | 1283ms | **1.7x** |
1098-
| Mixed (num+str+bool) | 2114ms | 863ms | **2.4x** |
1099-
| Nested (2 levels) | 5010ms | 1709ms | **2.9x** |
1100-
1101-
**When AutoPack is used:**
1102-
1103-
- `autoPack: 'auto'` (default): Enabled when array has 50+ objects
1104-
- `autoPack: true`: Always use, throws if data not compatible
1105-
- `autoPack: false`: Never use, fallback to structuredClone
1106-
1107-
### 12. Why security by default?
1088+
### 11. Why security by default?
11081089

11091090
**Decision:** Enable security protections by default with opt-out config.
11101091

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ if (result.status === 'fulfilled') console.log(result.value)
303303
- **Worker affinity** - V8 JIT optimization
304304
- **Request coalescing** - Deduplicates identical calls
305305
- **Turbo mode** - Parallel array processing
306-
- **AutoPack** - 2-3x faster object serialization
307306
- **File workers** - External files with `require()` + turbo
308307
- **Full TypeScript** - Complete type inference
309308

0 commit comments

Comments
 (0)