PyPokerEngine icon indicating copy to clipboard operation
PyPokerEngine copied to clipboard

It's too slow!!!

Open wukan1986 opened this issue 8 years ago • 2 comments

PyPokerEngine is a very good framwork for poker AI development.but it is too slow!

I test it use the FishPlayer, and run 10 rounds,it take 10s on my computer. I test another repo, https://github.com/chasembowers/poker-learn ,it can run 10000 rounds in 1 minute on my computer.

So, I use PyCharm Profile to check it. the function _calc_hand_info_flg take more than 70% time.

Finally,I recommend use https://github.com/worldveil/deuces to speed up. a lot of repo on github are using deuces it's on py2, maybe you can use the fork version https://github.com/ihendley/treys

wukan1986 avatar Jan 03 '18 03:01 wukan1986

they are totally different machine learning algos, this is used for reinforcement learning, poker-learn uses "common" regression

lorrp1 avatar Jun 14 '18 12:06 lorrp1

+1 on the idea of using treys to speed up evaluation.

allenfrostline avatar Jul 16 '19 15:07 allenfrostline