Generators, optimizations, profiling