Files
bun.sh/test/regression/issue/026682.test.ts
Claude Bot 35e9ca9158 Add regression test for rope string slice performance (issue #26682)
String.prototype.slice() currently has O(n) complexity on rope strings,
causing O(n²) overall complexity when iterating through a concatenated
string with slice operations.

The tests are marked as todo until the WebKit fix is merged:
https://github.com/oven-sh/WebKit/pull/154

Once the WebKit PR is merged and the commit hash is updated in
cmake/tools/SetupWebKit.cmake, these tests should be enabled.

Fixes #26682

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 06:08:32 +00:00

2.6 KiB