|
[jira] Commented: (BOO-137) optimize for item in array construct: msg#00125lang.boo.devel
[ http://jira.codehaus.org/browse/BOO-137?page=comments#action_47554 ] Rodrigo B. de Oliveira commented on BOO-137: -------------------------------------------- Please make sure that all tests currently in the repository pass (I've just added some test cases regarding range runtime behavior). Another thing, all the files in the boo code base must have the following header: http://svn.boo.codehaus.org/boo/trunk/notice.txt?rev=1775&view=auto > optimize for item in array construct > ------------------------------------ > > Key: BOO-137 > URL: http://jira.codehaus.org/browse/BOO-137 > Project: Boo > Type: Improvement > Components: Compiler > Reporter: Rodrigo B. de Oliveira > Attachments: OptimizeIterationStatements.cs > > > The current progress in the generators front required deoptimizing the > handling of "for item in array" constructs. > for item in array: > pass > should expand to: > i = 0 > while i < len(array): > item = array[i] > ++i > instead of today's: > iterator = array.GetEnumerator() > while iterator.MoveNext(): > item = iterator.Current -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Updated: (BOO-450) Error msg when accessing non-static outer class member, Doug Holton (JIRA) |
|---|---|
| Next by Date: | [jira] Commented: (BOO-250) overloaded functions cannot be "first class functions", Rodrigo B. de Oliveira (JIRA) |
| Previous by Thread: | [jira] Commented: (BOO-137) optimize for item in array construct, Rodrigo B. de Oliveira (JIRA) |
| Next by Thread: | [jira] Created: (BOO-500) self(index) instead of [DefaultMember(Item)] Item(index), Cameron Kenneth Knight (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |