HomePhabricator

Pythran compat - range vs. xrange

Authored by Serge Guelton <sguelton@quarkslab.com> on Jan 3 2019, 6:11 AM.

Description

Pythran compat - range vs. xrange

Use range instead of xrange whenever possible. The extra list creation in Python2
is generally not a performance bottleneck.

Differential Revision: https://reviews.llvm.org/D56253

llvm-svn: 350309

Details

Committed
Serge Guelton <sguelton@quarkslab.com>Jan 3 2019, 6:11 AM
Differential Revision
D56253: Python compat - range
Parents
rG707fab58a985: Python compat - assertRaisesRegex
Branches
Unknown
Tags
Unknown

Event Timeline

Serge Guelton <sguelton@quarkslab.com> committed rG07ccb4b81de9: Pythran compat - range vs. xrange (authored by Serge Guelton <sguelton@quarkslab.com>).Jan 3 2019, 6:11 AM