[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#68014: libc6: obstack should use realloc if possible



Package: libc6
Version: 2.1.3-10
Severity: wishlist

When dealing with very large strings, it is preferable to use realloc rather
than malloc+copy+free every time, especially on Linux where realloc
eventually becomes mremap(2).

Unfortunately this requires changing the interface of obstack, but IMHO
it needs to be done.

-- System Information
Debian Release: 2.2
Kernel Version: Linux gondor 2.2.12 #2 Sat Sep 18 12:11:40 EST 1999 i586 unknown

Versions of the packages libc6 depends on:
ii  ldso                1.9.11-9            The Linux dynamic linker, library and utilities.



Reply to: