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: mzabaluev/glib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mzabaluev/glib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: utf8-perf
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 14, 2014

  1. Unrolled implementation of g_utf8_to_ucs4_fast()

    Unrolling the branches and expressions for all expected cases
    of UTF-8 sequences facilitates the work of both an optimizing compiler
    and the branch prediction logic in the CPU. This speeds up decoding
    noticeably on text composed primarily of longer sequences.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738504
    mzabaluev committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    86c87d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ca1020 View commit details
    Browse the repository at this point in the history
  3. Optimized branching in g_utf8_validate()

    The number of branches and logical operations can be reduced by
    never producing a resulting wide character value to check its range.
    Instead, individual bytes in the sequence are validated
    depending on the branch taken on the basis of preceding bytes.
    The syntax given in RFC 3629 is made use of.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738504
    mzabaluev committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    c2580f0 View commit details
    Browse the repository at this point in the history
  4. Reorganized utf8-performance tests

    Now each function-string pair gets its own test path to track
    a single performance result.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738504
    mzabaluev committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    38ae022 View commit details
    Browse the repository at this point in the history
Loading