Fixed incorrect usage of memoryview. It's not getting faster though

[ skip ci ]