Skip to content

Conversation

@zbjornson
Copy link
Collaborator

Handful of little fixes:

  1. nBytes was wrong as of 1a6dffe, but the tests didn't catch it because they used a square canvas.
  2. Allow alpha and beta version in the test assertions.
  3. Minor: fix shadowing warnings during compilation.
  4. Fix v8 memory dealloc hint. When this function was run, it would have actually hinted to v8 that a massive amount of external memory was being used.

zbjornson added 4 commits May 4, 2017 09:57
nBytes is height * stride, not width.

Introduced by 1a6dffe
Renames a few variables and parameters to avoid shadowing names.
-(unsigned x) is (usually) 2^32 - x. Need to cast to signed first.
@LinusU
Copy link
Collaborator

LinusU commented May 6, 2017

Awesome work 👍

@LinusU LinusU merged commit 2db2662 into Automattic:master May 6, 2017
@LinusU
Copy link
Collaborator

LinusU commented May 6, 2017

Published as 2.0.0-alpha.2

@zbjornson zbjornson deleted the nbytes-regression branch May 18, 2017 20:23
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