Base proposal around vector-like types

The trick is to specialise ByteString, for it is currently doing three things at once:

  • FFI blob
  • String literal and container
  • Binary blob (especially from the network)

If you can focus on one of those things you will definitely find optimisations. If you need to keep these three roles at once, compromises will have to be made.

3 Likes