Commits

Author Commit Message Labels Comments Date
Victor Stinner
prepare release 0.4
Tags
astoptimizer-0.4
Victor Stinner
NOTES; TODO
Victor Stinner
{key: value for key, value in {1: 2, 3: 4}} => {1: 2, 3: 4}
Victor Stinner
clean optimizer_iter()
Victor Stinner
Remove invalid optimization: x in tuple => x in set
Victor Stinner
Fix get_literal()
Victor Stinner
Fix tests
Victor Stinner
Reorganize links
Victor Stinner
{x for x in "abc"} => set(["a", "b", "c"])
Victor Stinner
get_constant() takes an optional want_type argument
Victor Stinner
x in (1, 2, 3) => x in {1, 2, 3}
Victor Stinner
TODO
Victor Stinner
set("abc")
Victor Stinner
TODO
Victor Stinner
cleanup Optimizer.call_builtin_iterable()
Victor Stinner
Write unit tests for the README file
Victor Stinner
Fix optimizations on GeneratorExpr
Victor Stinner
demo.py: add --tuple-limit and --str-limit
Victor Stinner
use literal list and set
Victor Stinner
Fix "from math import *": ignore attributes starting with "_"
Victor Stinner
demo.py now accepts command line options
Victor Stinner
Add the "struct" configuration feature
Victor Stinner
Fix invalid optimization: tuple(set(iterable))
Victor Stinner
fix "is builtin shadowed" check
Victor Stinner
don't use a shadowed builtin
Victor Stinner
eval small range(n) and xrange(n), ex: range(3)
Victor Stinner
Optimize list comprehesion
Victor Stinner
type inference is cool
Victor Stinner
while True: ... => while 1: ...
Victor Stinner
Optimize iterators and generators
  1. Prev
  2. Next