View Single Post
Old 12-08-2019, 10:46 PM   #1336
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by davidfor View Post
The attached beta version has this change. I haven't checked if it produces the same stats as before. I didn't want to wait for the results. I'll have to reinstall the released version and test it.
For Oscar, your beta was faster than the original but still quite a bit slower than my dictionary hack (orig 26min, yours 7min24sec, mine 37sec) but more importantly it seems to have skewed the stats for the complex word count. The original code was 109300, my hack was 108737, and yours 116847.

As for the code you quoted, I'm far from understanding exactly what you changed! curWord is a list? Or a string that we append to? Totally lost here...
snarkophilus is offline   Reply With Quote