golang-github-michaeltjones-walk 0.0~git20161122.4748e29-3 source package in Ubuntu

Changelog

golang-github-michaeltjones-walk (0.0~git20161122.4748e29-3) unstable; urgency=medium

  [ Debian Janitor ]
  * Set upstream metadata fields: Bug-Database, Bug-Submit.
  * Update standards version to 4.5.0, no changes needed.
  * Apply multi-arch hints. + golang-github-michaeltjones-walk-dev: Add Multi-Arch: foreign.

 -- Jelmer Vernooij <email address hidden>  Fri, 25 Nov 2022 01:41:22 +0000

Upload details

Uploaded by:
Debian Go Packaging Team
Uploaded to:
Sid
Original maintainer:
Debian Go Packaging Team
Architectures:
all
Section:
golang
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Oracular release universe misc
Noble release universe misc
Mantic release universe misc
Lunar release universe misc

Builds

Lunar: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
golang-github-michaeltjones-walk_0.0~git20161122.4748e29-3.dsc 2.4 KiB 71d48961f8262017c7baa17c63d798152181577003c5df1d1186510476c1f4ad
golang-github-michaeltjones-walk_0.0~git20161122.4748e29.orig.tar.xz 8.9 KiB 872df2b0b05fcec53d223402c1e8f292d1348bca35d291ad45e2650faa83e3fa
golang-github-michaeltjones-walk_0.0~git20161122.4748e29-3.debian.tar.xz 3.0 KiB 79c514dbf6ba67a8e4b6f7980d79d88a7d0501e77d8db68b358dd200ff728fe0

No changes file available.

Binary packages built by this source

golang-github-michaeltjones-walk-dev: Fast parallel version of golang filepath.Walk()

 Performs traversals in parallel so set GOMAXPROCS appropriately.
 Values from 8 to 16 seem to work best on 4-CPU plus 4 SMT CPU.
 The result is about 4x-6x the traversal rate of the standard
 Walk(). The two are not identical since walking the file system
 in a tumult of asynchronous walkFunc calls by a number of goroutines.
 So, take note of the following:
 • This walk honors all of the walkFunc
 error semantics but as multiple user-supplied walkFuncs may simultaneously
 encounter a traversal error or generate one to stop traversal, only the
 FIRST of these will be returned as the Walk() result.
 • Further, since
 there may be a few files in flight at the instant of error discovery, a
 few more walkFunc calls may happen after the first error-generating call
 has signaled its desire to stop. In general this is a non-issue but it
 could matter so pay attention when designing your walkFunc. (For example,
 if you accumulate results then you need to have your own means to know
 to stop accumulating once you signal an error.)
 • Because the walkFunc
 is called concurrently in multiple goroutines, it needs to be careful
 about what it does with external data to avoid collisions. Results may
 be printed using fmt, but generally the best plan is to send results
 over a channel or accumulate counts using a locked mutex.
 .
 These issues
 are illustrated/handled in the simple traversal programs supplied with
 walk. There is also a test file that is just the tests from filepath
 in the Go language's standard library. Walk passes these tests when
 run in single process mode, and passes most of them in concurrent mode
 (GOMAXPROCS > 1). The problem is not a real problem, but one of the
 test expecting a specific number of errors to be found based on presumed
 sequential traversals.