Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous version used a bunch of manual string splitting and recursion and bad decisions. Recursion - To my knowledge, Rust doesn't support tail call optimization, so recursion can eventually blow the stack on long strings. rust-lang/rust#217 String Splitting - Given that Rust strings are UTF8, there's a non-zero chance that the algorithm may split on a non-character boundary if the code isn't careful. Development while creating the split was problematic at best and resulted in lots of issues involving the boundary. Bad decisions - I originally wrote the code in a way that bent Rust to my will rather than using what Rust provided.
- Loading branch information