TehMillhouse / PyMarkovChain

Simple markov chain implementation in python
Other
97 stars 17 forks source link

Sentence generation shouldn't be recursive #2

Closed TehMillhouse closed 11 years ago

TehMillhouse commented 11 years ago

Programming in a recursive style is a bad idea if you can't rely on tail call optimization to be there.