This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speedup calloc size overflow check by preventing division if small va…
…lues * malloc.c (GC_SQRT_SIZE_MAX): New macro. * malloc.c (calloc): Add fast initial size overflow check to avoid integer division for reasonably small values passed.
- Loading branch information
Showing 1 changed file with 4 additions and 1 deletion.