add notes about templating

This commit is contained in:
Frederik Hertzum 2024-02-26 00:00:17 +01:00
parent a4f830f917
commit 23e5b02052

View File

@ -36,3 +36,9 @@ longer string in the middle and then calculating the two parts sperately.
If that can be done, it should be easy to turn on the threads and make run this
on all the cores.
## Templating the code
There's nothing in the code that's specific to `std::string`, and there's no
real reason for keeping it restricted to `std::string`. Making this a template
should be trivial.