-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

edA-qa mort-ora-y wrote:
> This code works and returns swiftly:
>
> print pokereval.poker_eval( game = "holdem", fill_pockets = 1,
> pockets = [ ["As", "3s"],  ["__", "__"]], dead = [], board = ["__",
> "Qs", "2c", "Ac", "Kc"] )
>
> This code takes very very long to calculate and usually ends up
> with a glibc memory error of some kind:
>
> print pokereval.poker_eval( game = "holdem", fill_pockets = 1,
> pockets = [ ["As", "3s"],  ["__", "__"],  ["__", "__"]], dead = [],
>  board = ["__", "Qs", "2c", "Ac", "Kc"] )
>
> Notice the only difference is one additional pocket of __, __.
>
Does the memory used by the process grow out of proportion ?
>
> BTW, does this mean the c poker-eval library is no longer
> maintained -- that the python one has replaced it?
No, the python library is based on the c library.

Cheers

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh+PywACgkQ8dLMyEl6F20AQgCghkbe3XWLFgnQ0HXEmBiB0In+
RkoAnRadjB76FpcJqc3gJtQkTaZAWo7Q
=Jc52
-----END PGP SIGNATURE-----

begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[EMAIL PROTECTED]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to