From: Alex Riesen <raa.lkml@gmail.com>
To: Timo Sirainen <tss@iki.fi>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/3] Added generic string handling code.
Date: Sun, 20 May 2007 12:01:55 +0200 [thread overview]
Message-ID: <20070520100155.GB3106@steel.home> (raw)
In-Reply-To: <1179627869.32181.1284.camel@hurina>
Timo Sirainen, Sun, May 20, 2007 04:24:29 +0200:
> So here's my try on starting with something simple. Unlike almost all
> other string handling libraries, it doesn't allocate the memory
> dynamically.
Sometimes you _need_ dinamic memory allocation.
> This makes it really easy to convert existing code to use it. I'm
> including some example changes in the other patches. Besides making
> the code safer, it can also make it faster, especially those
> strcat() replacements.
It is also bigger, heavier on stack and sometimes slower because of
more function calls involved.
Aside from that, I like it. I wouldn't use it universally, but
there were times when I wished it has been be done this way.
next prev parent reply other threads:[~2007-05-20 10:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-20 2:24 [PATCH 1/3] Added generic string handling code Timo Sirainen
2007-05-20 10:01 ` Alex Riesen [this message]
2007-05-20 10:27 ` Timo Sirainen
2007-05-22 13:40 ` Petr Baudis
2007-05-23 10:49 ` Timo Sirainen
2007-05-23 13:24 ` Petr Baudis
2007-05-23 13:56 ` Timo Sirainen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070520100155.GB3106@steel.home \
--to=raa.lkml@gmail.com \
--cc=git@vger.kernel.org \
--cc=tss@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).