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

Modify get_row() to use the CPython tuple API #178

Merged
merged 1 commit into from Jan 22, 2014

Commits on Jan 20, 2014

  1. Modify get_row() to use the CPython tuple API

    This drops the previous method of building up a row tuple and switches
    to using the CPython API, which allows you to create a correctly sized
    tuple at the beginning and simply fill it in. This appears to offer
    around a 10% boost when fetching rows from a table where the data is
    already in memory.
    
    The CPU usage is still up around 100% so more optimisations should be
    able to be made somewhere if some proper profiling was done.
    Damien Churchill committed Jan 20, 2014
    Copy the full SHA
    8732fbd View commit details
    Browse the repository at this point in the history