> It doesn't use any more memory either unless
> you want to pack strings really tight, something you usually don't
> want to do to avoid alignment problems.
Unless, of course, you're dealing with substrings...
>[Maybe this could]
> be used in the Linux kernel on architectures with less-than-optimal
> support for null-terminated strings.
Code which is already libc-free (like the kernel) is a good place in
general to try this. Just don't expect userland to cooperate, and
make it a config option for the poor folks with 4-8 megs of RAM...
Keith
-- "The avalanche has already started; |Linux: http://www.linuxhq.com |"Zooty, it is too late for the pebbles to |KDE: http://www.kde.org | zoot vote." Kosh, "Believers", Babylon 5 |Keith: kwrohrer@enteract.com | zoot!" www.midwinter.com/lurk/lurker.html |http://www.enteract.com/~kwrohrer | --Rebo- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu