Charlie Vieth

Results 18 issues of Charlie Vieth

This eliminates the need to use the unsupported bou.ke/monkey package, which fails to build on darwin/arm64. A better solution might be to remove the use of `os.Exit` entirely since it's...

This commit enables cpu, mem, block, and mutex profling of the FZF executable. To support flushing the profiles at program exit it adds util.AtExit to register "at exit" functions and...

feature

This commit improves the layout of the "parser transition state" and "grapheme code point" data structures; changes them to use structs instead of arrays; and adds an ASCII and Extended-ASCII...

Speedup the handling of strings that contain only printable-ASCII characters by ~20x. TODO: this commit should probably handle common, but "non-printable" chars like: "\n", "\r". base: d6773baf ``` goos: darwin...

Add NewGraphemesFromRunes which allows for creating a new Graphemes struct from a slice of runes (saving the []rune => str => []rune conversion).

Add Github workflow to test changes.

Changes: * Only resize the hash in Hashtable_put to reduce thrashing, otherwise we a large deletion results in multiple incremental resizes. * Reduce the load factor to 2/3 from 0.7...

enhancement
code quality :recycle:

This commit improves the performance and reduces the number of allocs of most UUID methods and adds a new UUID.Parse() method for parsing string encoded UUIDs. Parsing string encoded UUIDs...

This commit changes the snapshot package to use per-Snapshot PRNGs instead of a single global PRNG - this reduces lock contention. Additionally, it cleans up the code a bit by...

Update Go source files to use the '//go:build' lines introduced by Go 1.17 and the doc comment formatting introduced by Go 1.19. This formatting is not changed by Go 1.20....