Skip to content

Commit c896707

Browse files
committed
Update exercises/practice/rotational-cipher/.articles/performance/content.md
1 parent 5880581 commit c896707

File tree

1 file changed

+1
-1
lines changed
  • exercises/practice/rotational-cipher/.articles/performance

1 file changed

+1
-1
lines changed

exercises/practice/rotational-cipher/.articles/performance/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rotate recursion short : 5.4000120144337416e-06
2929

3030
## Conclusion
3131

32-
For a long string as input, the `str.translate` approach the fastest, followed by ascii, alphabet, and finally recursion.
32+
For a long string as input, the `str.translate` approach is the fastest, followed by ascii, alphabet, and finally recursion.
3333
For a short string as input, is the alphabet approach the fastest, followed by ascii, recursion and finally `str.translate`.
3434

3535
This means that if you know the input is a short string, the fastest approach is to use the alphabet, and forgo the overhead of making and saving a translation dictionary.

0 commit comments

Comments
 (0)