Huge performance boost by avoiding copies