Re: how remove numcheck

2016-09-25 Thread Alex Harui
Please file a bug. We might be able to use: @implements {IArrayLike} -Alex On 9/25/16, 10:00 PM, "lizhi" wrote: >pls add a option. >it is hard to add all as Number on my code > > > >-- >View this message in context: >http://apache-flex-development.247.n

Re: how remove numcheck

2016-09-25 Thread lizhi
pls add a option. it is hard to add all as Number on my code -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55313.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: how remove numcheck

2016-09-25 Thread Alex Harui
On 9/25/16, 7:49 PM, "lizhi" wrote: >i have add the -js-output-optimization=skipAsCoercions,and the number() >are >there. > >and float32array and vector no need the number(float32array[i]) > It is probably because we don't have a way to specify the type of [] access. -Alex

Re: how remove numcheck

2016-09-25 Thread lizhi
i have add the -js-output-optimization=skipAsCoercions,and the number() are there. and float32array and vector no need the number(float32array[i]) -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55308.html Sent from the Apache

Re: how remove numcheck

2016-09-24 Thread lizhi
why try check the float32array and vector?it is must number。no need as number 发自我的iPhone -- Original -- From: Alex Harui [via Apache Flex Development] Date: 周五,9月 23,2016 23:44 To: lizhi Subject: Re: how remove numcheck On 9/23/16, 8:20 AM, "

Re: how remove numcheck

2016-09-23 Thread Alex Harui
On 9/23/16, 8:20 AM, "lizhi" wrote: >and the js is a simple lang ,no need the same of flashruntime.simple is >good Many folks have a different opinion. Their code may be counting on implicit type conversions. We have provided several options to control output. Besides @flexjsignorecoercion,

Re: how remove numcheck

2016-09-23 Thread lizhi
and the js is a simple lang ,no need the same of flashruntime.simple is good 发自我的iPhone -- Original -- From: Alex Harui [via Apache Flex Development] Date: 周五,9月 23,2016 23:13 To: lizhi Subject: Re: how remove numcheck On 9/22/16, 11:56 PM, "

Re: how remove numcheck

2016-09-23 Thread lizhi
or add a new @xxx. 发自我的iPhone -- Original -- From: Alex Harui [via Apache Flex Development] Date: 周五,9月 23,2016 23:13 To: lizhi Subject: Re: how remove numcheck On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote: >the float32array

Re: how remove numcheck

2016-09-23 Thread lizhi
it is need too many code,matrix3d.as rawdata 100+as number.and the float32array,and vector no need the check 发自我的iPhone -- Original -- From: Alex Harui [via Apache Flex Development] Date: 周五,9月 23,2016 23:13 To: lizhi Subject: Re: how remove numcheck On

Re: how remove numcheck

2016-09-23 Thread Alex Harui
On 9/22/16, 11:56 PM, "lizhi" wrote: >the float32array also has this issue. >and the Number() are slow in loop I could be wrong, but I'm pretty sure the compiler should try to insert a coercion there, because otherwise the JS code would behave differently than the AS code if there were strings

Re: how remove numcheck

2016-09-23 Thread lizhi
the float32array also has this issue. and the Number() are slow in loop -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55287.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: how remove numcheck

2016-09-23 Thread Harbs
flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55284.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: how remove numcheck

2016-09-22 Thread lizhi
is it other way? this var n:number = arr[i]; look good but the as Number not too good. or other option? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55284.html Sent from the Apache Flex Development mailing list archive at

Re: how remove numcheck

2016-09-22 Thread Alex Harui
>this good,but not good in loop > > > >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-t >p55279.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

how remove numcheck

2016-09-22 Thread lizhi
.arr[0]); this good,but not good in loop -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279.html Sent from the Apache Flex Development mailing list archive at Nabble.com.