Hi Paul, > Of course this performance issue is mostly just for MS-Windows, as other > major > current platforms already have aligned_alloc or rough equivalent.
No, it's not only Windows. It's - macOS - Minix - native Windows Here's the complete matrix: posix_memalign aligned_alloc memalign glibc Y Y Y musl Y Y Y macOS - - - FreeBSD Y Y - NetBSD Y - - OpenBSD Y Y - AIX Y - - HP-UX - - Y IRIX - - Y Solaris 10 - - Y Solaris 11 Y Y - Minix - - - Haiku Y - Y Android Y - Y Cygwin Y - Y native Windows - - - Bruno