Skip to content

It's too slow!!! #65

@wukan1986

Description

@wukan1986

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions