* mlr summary verb
* doc content
* iterating on more summarizers; needs work as noted in the PR
* mlr summary with selectable accumulators
* code-review feedback
* iterating on transposed output
* extend unit-test cases
* doc extensions
* latin1_to_utf8 and utf8_to_latin1 DSL functions
* doc-build artifacts for previous commit
* Test cases for latin1_to_utf8 and utf8_to_latin1
* extend on-line help
* latin1_to_utf8 and utf8_to_latin1 verbs
* unit-test cases for verbs
* Keep with kebab-case naming convention for verbs
* webdocs
These lines are unreachable, all paths above them lead to earlier
returns.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
Miller assumes 64-bit integers, but in Go, the int type varies in size
depending on the architecture: 32-bit architectures have int
equivalent to int32. As a result, the supported range of integer
values is greatly reduced on 32-bit architectures compared to what is
suggested by the documentation.
This patch explicitly uses int64 wherever 64-bit integers are
assumed.
Test cases affected by the behaviour of the random generator are
updated to reflect the new values (the existing seed doesn't produce
the same behaviour since the way random values are generated has
changed).
Signed-off-by: Stephen Kitt <steve@sk2.org>
Especially for regexes, raw strings improve readability since they
aren't escaped.
While we're at it, use MustCompile instead of handling the error and
exiting.
Signed-off-by: Stephen Kitt <steve@sk2.org>
* To-do items for broader platform/go-version benchmarking
* neaten inferrer API
* extend type-inference unit-test cases
* Add benchmark scripts for comparing compiler versions
* mlr version in addition to mlr --version
* some go-benchmark files for Mac/Linux perf comparisons
* neaten perf-scripts
* merge
* type-scan optimization tests
* type-scan optimization infra
* test new inferrer
* mlr --time option
* include --cpuprofile and --traceprofile in on-line help
* sharpen inferred/deferred-type API distinction
* replace old inferrer with newer/faster
* update docs for new type-inferrer
* Function-pointerize IXS/IXSRegex to reduce runtime iffelsing
* remove IsRegexString and SuppressIXSRegex
* regression tests passing
* doc updates
* Don't use sed -I in ./configure
* Work around Go strconv's allowance of _ in int/float literals
* JIT mlrval type-interfence: mlrval package
* mlrmap refactor
* complete merge from #779
* iterating
* mlrval/format.go
* mlrval/copy.go
* bifs/arithmetic_test.go
* iterate on bifs/collections_test.go
* mlrval_cmp.go
* mlrval JSON iterate
* iterate applying mlrval refactors to dependent packages
* first clean compile in a long while on this branch
* results of first post-compile profiling
* testing
* bugfix in ofmt formatting
* bugfix in octal-supporess
* go fmt
* neaten
* regression tests all passing