axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago Rafael Becker" <thiago.bec...@gmail.com>
Subject Re: REST URL Mapping - The changes done in pattern matching Algorithm
Date Fri, 21 Nov 2008 19:50:42 GMT
Hi, all

I was looking at the recursive functions and below are my findings.

In the case of axis2_core_utils_internal_build_rest_map_recursively,
which is a tail-recursive function, seems easy to convert it to a
iterative function.

In the case of axis2_core_utils_internal_infer_op_from_rest_map_recursively,
which is not a tail-recursive function, seems harder to do. Also, it
spans for about 250 lines, it's complicated to find how to convert it.
Did you ever thought about switching from ansi c to iso99 c? You can
do some things to reduce the line span of functions (static inline
functions) that you can't do with ansi c. What do you think about it?

Thanks :)

On Thu, Nov 20, 2008 at 4:04 PM, Thiago Rafael Becker
<thiago.becker@gmail.com> wrote:
> Hi,
>
> On Thu, Nov 20, 2008 at 2:51 PM, Dimuthu Gamage <dimuthuc@gmail.com> wrote:
<... Large clip ...>
-- 
Thiago Rafael Becker
http://www.monstros.org/trbecker

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message