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

Improve speed of bool-to-int conversions #796

Merged
merged 3 commits into from Sep 12, 2018

Commits on Sep 10, 2018

  1. Improve speed of int-to-bool conversions

    Use a simple function that tests the bool and returns 0 for false and
    1 for true, rather than a map that does the same thing, as Go appears
    to compile the former into much faster code.
    James Craig Burley committed Sep 10, 2018
    Copy the full SHA
    9c663ba View commit details
    Browse the repository at this point in the history
  2. Improve speed of int-to-bool conversions

    Use a simple function that tests the bool and returns 0 for false and
    1 for true, rather than a map that does the same thing, as Go appears
    to compile the former into much faster code.
    James Craig Burley committed Sep 10, 2018
    Copy the full SHA
    4a28085 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Merge branch 'fast-bool-to-int' of github.com:jcburley/c2go into fast…

    …-bool-to-int
    James Craig Burley committed Sep 11, 2018
    Copy the full SHA
    ab8f783 View commit details
    Browse the repository at this point in the history