Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
Rather than change the API you could extend it to allow the capability to be queried more cheaply perhaps? If the target does not implement the extended API you'd just fall back to using strings.
Well, refactoring shuffler code is complicated enough as it is.
So, I took the easy way out, and simply reverted to plain shared strings again for the degenerate case. The highest gain for the shuffler is by ending up on as-few-as-possible writev() calls anyway, so if it has to fallback to the write method of an object, using the shuffler is questionable in the first place.