Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Create class for absolutePath + offset

    • -0
    • +248
    ./gradle/internal/snapshot/OffsetRelativePath.java
  1. … 2 more files in changeset.
Create class for absolutePath + offset

    • -0
    • +248
    ./gradle/internal/snapshot/OffsetRelativePath.java
  1. … 2 more files in changeset.
Remove compareToPrefix

and use compareWithCommonPrefix instead.

    • -42
    • +5
    ./gradle/internal/snapshot/PathUtil.java
  1. … 2 more files in changeset.
Clarify methods in PathUtil

by renaming/adding better Javadoc

    • -53
    • +76
    ./gradle/internal/snapshot/PathUtil.java
  1. … 2 more files in changeset.
Special case 0 and 1 elements in binarySearch

    • -14
    • +28
    ./gradle/internal/snapshot/SearchUtil.java
  1. … 1 more file in changeset.
Extract constant minimum child number for binary search

to get rid of the magic number.

Pass CaseSensitivity to DefaultVirtualFileSystem

for better readability.

  1. … 4 more files in changeset.
Use CaseSensitivity for all methods in PathUtil

    • -6
    • +4
    ./gradle/internal/snapshot/PathUtil.java
  1. … 2 more files in changeset.
Use Character.compare instead of -

That makes the code better readable.

    • -2
    • +2
    ./gradle/internal/snapshot/PathUtil.java
Improve Javadoc on PathUtil

Co-Authored-By: Lóránt Pintér <lorant@gradle.com>

    • -1
    • +1
    ./gradle/internal/snapshot/PathUtil.java
Only search all children for fewer than 5 children

Remove rogue newline

    • -1
    • +0
    ./gradle/internal/vfs/VirtualFileSystem.java
Move properties related to VFS to VFS service registry

    • -41
    • +0
    ./gradle/internal/vfs/VirtualFileSystem.java
  1. … 3 more files in changeset.
Move properties related to VFS to VFS service registry

    • -45
    • +0
    ./gradle/internal/vfs/VirtualFileSystem.java
  1. … 3 more files in changeset.
Move properties related to VFS to VFS service registry

    • -45
    • +0
    ./gradle/internal/vfs/VirtualFileSystem.java
  1. … 3 more files in changeset.
First ugly implementation of virtual file system retention

The way this thing is configured needs work.

    • -0
    • +46
    ./gradle/internal/vfs/VirtualFileSystem.java
  1. … 5 more files in changeset.
First ugly implementation of virtual file system retention

The way this thing is configured needs work.

    • -0
    • +46
    ./gradle/internal/vfs/VirtualFileSystem.java
  1. … 5 more files in changeset.
Add more Javadoc

    • -11
    • +45
    ./gradle/internal/snapshot/PathUtil.java
  1. … 1 more file in changeset.
Polish Javadoc

Fix equalChars

Two characters are the same when the lowercase or the uppercase form

are the same.

    • -3
    • +3
    ./gradle/internal/snapshot/PathUtil.java
  1. … 2 more files in changeset.
Fix path-insensitive comparison

    • -13
    • +28
    ./gradle/internal/snapshot/PathUtil.java
  1. … 2 more files in changeset.
Only do a binary search with more than 10 children

isChildOfOrThis is faster than compareChildOfOrThis, so use the former

up to more elements without doing a binary search.

Only do a binary search with more than 10 children

isChildOfOrThis is faster than compareChildOfOrThis, so use the former

up to more elements without doing a binary search.

Only do a binary search with more than 10 children

isChildOfOrThis is faster than compareChildOfOrThis, so use the former

up to more elements without doing a binary search.

Compare file names via the String methods

instead of implementing own iteration methods.

    • -0
    • +7
    ./gradle/internal/snapshot/PathUtil.java
  1. … 1 more file in changeset.
Compare file names via the String methods

instead of implementing own iteration methods.

    • -0
    • +7
    ./gradle/internal/snapshot/PathUtil.java
  1. … 1 more file in changeset.
Compare file names via the String methods

instead of implementing own iteration methods.

    • -0
    • +7
    ./gradle/internal/snapshot/PathUtil.java
  1. … 1 more file in changeset.
Avoid some branch mispredicts

Do more work, but using less conditionals, which should overall

be faster than frequent branch mispredicts.

    • -15
    • +12
    ./gradle/internal/snapshot/CaseSensitivity.java
    • -1
    • +1
    ./gradle/internal/snapshot/PathUtil.java
Remove all logic from CaseSensitivity

    • -129
    • +2
    ./gradle/internal/snapshot/CaseSensitivity.java
    • -2
    • +109
    ./gradle/internal/snapshot/PathUtil.java
  1. … 3 more files in changeset.
Remove all logic from CaseSensitivity

    • -129
    • +2
    ./gradle/internal/snapshot/CaseSensitivity.java
    • -2
    • +109
    ./gradle/internal/snapshot/PathUtil.java
  1. … 3 more files in changeset.