Sum array of unsigned 8-bit integers using the Accelerate framework
问题 Can I use the Accelerate Framework to sum an array of unsigned 8-bit integers without converting to an array of floats. My current approach is: vDSP_vfltu8(intArray, 1, floatArray, 1, size); vDSP_sve(floatArray, 1, &result, size); But vDSP_vfltu8 is quite slow. 回答1: If it is important to you that vDSP_vfltu8( ) be fast, please file a bug report . If there's any question, file a bug report . Inadequate performance is a bug, and will be treated as such if you report it. Library writers use this