syncthing/lib/ignore
Jakob Borg 4c3cd4c9e3 lib/ignore: Replace lib/fnmatch with github.com/gobwas/glob
Because it's literally ten times faster:



	benchmark                  old ns/op     new ns/op     delta

	BenchmarkMatch-8           13842         1200          -91.33%

	BenchmarkMatchCached-8     139           147           +5.76%



	benchmark                  old allocs     new allocs     delta

	BenchmarkMatch-8           0              0              +0.00%

	BenchmarkMatchCached-8     0              0              +0.00%



	benchmark                  old bytes     new bytes     delta

	BenchmarkMatch-8           12            0             -100.00%

	BenchmarkMatchCached-8     0             0             +0.00%
2016-04-02 20:03:24 +01:00
..
testdata mv internal lib 2015-08-09 09:35:26 +02:00
cache_test.go mv internal lib 2015-08-09 09:35:26 +02:00
cache.go mv internal lib 2015-08-09 09:35:26 +02:00
ignore_test.go lib/ignore: Replace lib/fnmatch with github.com/gobwas/glob 2016-04-02 20:03:24 +01:00
ignore.go lib/ignore: Replace lib/fnmatch with github.com/gobwas/glob 2016-04-02 20:03:24 +01:00