delegate sequence construction functions to persistent vector
implementation
scalar optimisations
doc edits