Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example from README not functional for big files #3

Open
pitchforks opened this issue May 4, 2014 · 2 comments
Open

Example from README not functional for big files #3

pitchforks opened this issue May 4, 2014 · 2 comments

Comments

@pitchforks
Copy link
Contributor

Doing read() on a big file containing many PGN games (think hundreds of megabytes and more) takes a very long time and eats up lots of memory.

Doing pgn.loads() on a big string is even worse because there's the risk of completely running out of memory.

renatopp added a commit that referenced this issue Jun 23, 2014
fix for issue #3: implemented low-memory processing of huge PGN files using iterators
@vakoneru
Copy link

vakoneru commented Dec 3, 2018

The example in the README for pgn.GameIterator is still not functional - running it with any pgn results in an error:

AttributeError: 'module' object has no attribute 'GameIterator'

@mtesluk
Copy link

mtesluk commented Dec 12, 2020

You forgot to update lib on pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants