I did get this to work but there's an unnecessary conversion to bytes of something that should already be a char const* just "to make it all compile" - so there's an unnecessary allocation and copy going on.
This is not a big deal - we're going to make pretty small use of strings, and generally we just use them from Python once to construct a Color - but I wanted to note my perplexity here.
I did get this to work but there's an unnecessary conversion to bytes of something that should already be a
char const*
just "to make it all compile" - so there's an unnecessary allocation and copy going on.This is not a big deal - we're going to make pretty small use of strings, and generally we just use them from Python once to construct a
Color
- but I wanted to note my perplexity here.