Nuacht

When splitting a string using split (), Python creates a new list containing the substrings, which can consume additional memory and slow down the process, especially with large strings.