Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: racket/racket
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gcr/racket
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Dec 16, 2012

  1. Speed up set-argb-pixels by using local references to b&w? and alpha-…

    …channel?
    
    In set-argb-pixels, the critical loop for each pixel tests the value
    of a boolean that was defined at the top level of the class. Forcing
    these to be local variables gives a speedup of 1.5.
    gcr committed Dec 16, 2012
    Configuration menu
    Copy the full SHA
    a91535c View commit details
    Browse the repository at this point in the history
  2. Speed up set-argb-pixels by using unsafe operations.

    Presumably, values shouldn't ever wrap and the bytestring is already
    assured to be long enough, so using safe operations isn't strictly
    necessary. This dangerous improvement yields speedup factor of ~1.86.
    gcr committed Dec 16, 2012
    Configuration menu
    Copy the full SHA
    2de232e View commit details
    Browse the repository at this point in the history
Loading