Commit 6d1b11a
committed
Add bytes/bytearray benchmarks to translate_bench.py
Extend the translate benchmark script to cover bytes and bytearray
in addition to str. New features:
- bytes.translate() benchmarks: full rotation, nibble swap, identity,
ASCII data, and deletion cases
- bytearray.translate() benchmarks: full rotation and deletion cases
- --str-only and --bytes-only flags to run specific benchmarks
- Updated correctness tests for bytes/bytearray
https://claude.ai/code/session_0142fPYhFLFes4W9Tp6C3BhU1 parent 315845c commit 6d1b11a
1 file changed
Lines changed: 279 additions & 48 deletions
0 commit comments