worker: leave TODO comments for using std::variant when possible
We don’t use C++17 as a baseline yet, but once we do, we can use
std::variant
to make a few things more performant (and cleaner).
There is a similar TODO comment in the crypto source already.