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

buffers: speed up swap16/32, add swap64 #7157

Closed
wants to merge 1 commit into from

Commits on Jun 21, 2016

  1. buffers: speed up swap16/32, add swap64

    * Speed up buffer.swap16 and swap32 by using builtins. Up to ~6x gain.
      Drop transition point between JS and C++ implementations accordingly.
    * Fix tests: C++ impl tests were testing 0-filled buffers so were
      always passing.
    * Add similar buffer.swap64 method.
    * Make buffer-swap benchmark mirror JS impl.
    zbjornson committed Jun 21, 2016
    Configuration menu
    Copy the full SHA
    de91255 View commit details
    Browse the repository at this point in the history