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

Move code out of function body for less indentation and easier cythonization #13

Merged
merged 2 commits into from
Apr 25, 2019

Conversation

tstenner
Copy link
Contributor

Screens have a limited width and Cython makes it easier to compile top level functions / classes so I moved the StreamData class and chunk 3 reader block out of the function body.

The next step would be a pyxdf.pxd file with annotations for Cython, leaving the pure python code untouched.

@cbrnr
Copy link
Contributor

cbrnr commented Apr 19, 2019

This is great! +1 for merge.

@cbrnr cbrnr mentioned this pull request Apr 25, 2019
@cbrnr cbrnr merged commit dad4564 into master Apr 25, 2019
@cbrnr
Copy link
Contributor

cbrnr commented Apr 25, 2019

Thanks @tstenner!

@tstenner tstenner deleted the indentationsaver branch April 25, 2019 16:21
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

Successfully merging this pull request may close these issues.

2 participants