[Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 15 Jan 2002, Ben Webb wrote:
> What you're suggesting is that I write the function as
>
> void try_update_effects(int do_i_really_do_it)
> {
> if (!do_i_really_do_it) return;
>
> /* main function body */
> }
>
> and this seems rather nonsensical, particularly as you could apply the
> same argument to _any_ function. What happens if the function returns a
> value?
It isn't nonsensical because:
a) void update_all_effects(void)
It doesn't return any arguments.
b) A non-insignificant amount of calls is in this fashion.
c) There are other functions in Freeciv that work like that.
But i don't care *that* much about it.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), (continued)
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Ben Webb, 2002/01/14
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Vasco Alexandre Da Silva Costa, 2002/01/14
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Ben Webb, 2002/01/14
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Ben Webb, 2002/01/14
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Vasco Alexandre Da Silva Costa, 2002/01/14
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Ben Webb, 2002/01/15
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094),
Vasco Alexandre Da Silva Costa <=
- [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094), Ben Webb, 2002/01/21
|
|