From 23e5b02052eaf70a15e3e9ae0bc01c5971fc2102 Mon Sep 17 00:00:00 2001 From: Frederik Hertzum Date: Mon, 26 Feb 2024 00:00:17 +0100 Subject: [PATCH] add notes about templating --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0e28475..9db48ee 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file