jasone      2006-03-19 18:28:07 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Optimize realloc() to reallocate in place if the old and new sizes are
  close enough to each other that reallocation would allocate a new region
  of the same size.  This improves the performance of repeated incremental
  reallocations by up to three orders of magnitude. [1]
  
  Fix arena_new() to properly constrain run size if a small chunk size was
  specified during runtime configuration.
  
  Suggested by:   se [1]
  
  Revision  Changes    Path
  1.113     +167 -105  src/lib/libc/stdlib/malloc.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to