The way of kings: efficiency of generators

question
performance
python
puzzles

#1

Hello! :slight_smile:

I asked rather provocative question on SO about generators.

I would like to get attention of the people who knows about julia’s generators more… :stuck_out_tongue:

If it could be possible I would also like to help improve julia… :slight_smile:


#2

Not much optimization work has been done for this kind of usage of generators because if you really care about high performance you wouldn’t use generators like this in the first place. It would be nice to eventually make this faster, but it’s not a super high priority. I would recommend writing this in terms of straightforward iteration and recursion to get better performance.


Problems with deprecations of islower, lowercase, isupper, uppercase