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

Optimize buffer assignments #739

Open
robertwb opened this issue Jan 13, 2009 · 1 comment
Open

Optimize buffer assignments #739

robertwb opened this issue Jan 13, 2009 · 1 comment

Comments

@robertwb
Copy link
Contributor

If both x and y are buffers, and you do x = y; currently a full buffer release/acquire is done. However the buffer typestring etc. on y is already checked, so it would be possible to move part of this operation to compile-time.

Migrated from http://trac.cython.org/ticket/180

@robertwb
Copy link
Contributor Author

robertwb commented Jan 10, 2011

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

No branches or pull requests

1 participant