Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

memcmp returns the lexicographic ordering of the parameters (<, = or >) while bcmp only returns equality (anything nonzero is difference so memcmp is a suitable bcmp), so the LLVM folks believe worst case scenario bcmp will alias to memcmp, and possibly it'll have better performances since it has to do less: https://reviews.llvm.org/D56593


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: