Hi Hui -

A very simple for loop like for i in 1..100 should translate into
a simple C for loop with the current compiler. Are you not seeing that
for an example with the latest release? I don't off hand remember
when fixes to do with this went in.

I'd recommend you:
 * find a very simple example that isn't working the way you expect
 * check if it's working better with the current version

Also, are you talking about the LLVM or the C backend?

The answers to the above questions, along with a simple source code
example, would help further our discussion.

Thanks,

-michael

On 7/2/15, 10:48 AM, "Hui Zhang" <wayne.huizh...@gmail.com> wrote:

>Hello,
>
>
>Could anyone shed some light on how for loop is realized in Chapel with
>details ?
>
>
>As simple as "for i in 1..100", I feel it's calling some inner functions
>that are hidden from users, which consumes a lot running time, but I
>haven't had a clear clue yet...so any
> ideas how that happened ?
>
>
>Thanks
>
>
>-- 
>Best regards
>
>
>Hui Zhang
>
>


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Chapel-developers mailing list
Chapel-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to