всички настройки
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: golang-github-saracen-walker  ]

Пакет: golang-github-saracen-walker-dev (0.1.2-1)

Връзки за golang-github-saracen-walker-dev

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник golang-github-saracen-walker.

Отговорници:

Външни препратки:

Подобни пакети:

walker is a faster, parallel version, of filepath.Walk

This library and filepath.Walk both perform os.Lstat calls and provide a full os.FileInfo structure to the callback. BenchmarkFastwalkWalkLstat and BenchmarkGodirwalkWalkLstat include this stat call for better comparison with BenchmarkFilepathWalk and BenchmarkWalkerWalk.

This library and fastwalk both require the callback to be safe for concurrent use. BenchmarkFilepathWalkAppend, BenchmarkWalkerWalkAppend, BenchmarkFastwalkWalkAppend and BenchmarkGodirwalkWalkAppend append the paths found to a string slice. The callback, for the libraries that require it, use a mutex, for better comparison with the libraries that require no locking.

This library will not always be the best/fastest option. In general, if you're on Windows, or performing lstat calls, it does a pretty decent job. If you're not, I've found fastwalk to perform better on machines with fewer cores.

Други пакети, свързани с golang-github-saracen-walker-dev

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на golang-github-saracen-walker-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 10,9 кБ56,0 кБ [списък на файловете]