When sampling, force encoding to ASCII_8BIT instead of US_ASCII.
Use regular array when iterrating in Query#execute, rather than trying to use a Solutions::Array.
Optimize Solutions#empty? Solutions#project takes a block or returns an Enumerator.