Re: [PATCH 02/13] revert: Factor out add_message_to_msg function
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 21, 2011, 15:58 UTC
- Message-ID
- <20110621155836.GG15461@elie>
- In-Reply-To
- <1308661489-20080-3-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra wrote:
> [Subject: [PATCH 02/13] revert: Factor out add_message_to_msg function]
"Factor out" means to introduce a new function. I think you mean "inline". :)
> The add_message_to_msg function is poorly implemented, has an unclear > API, and only one callsite. Replace the callsite with a cleaner > implementation.
The above does not answer the question I would have, namely what exactly is wrong with add_message_to_msg. Is it too slow? Not robust? Is the generated assembly too long? Is it hard for a reader to figure out the intent? Does it blend in poorly with its surroundings?