aboutsummaryrefslogtreecommitdiff
path: root/lib/dsv/data_test.go
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2023-09-11lib/dsv: realign struct for better size allocationShulhan
The realignment reduce the cost of the following struct, * ReadWriter: from 232 to 224 bytes (-8 bytes) * Metadata: from 104 to 88 bytes (-16 bytes) * Reader: from 160 to 140 bytes (-20 bytes) * struct in TestConfigParse: from 24 to 16 bytes (-8 bytes) * struct in TestDatasetMode: from 16 to 8 bytes (-8 bytes) * ReaderError: from 48 to 40 bytes (-8 bytes) * Writer: from 72 to 56 bytes (-16 bytes)
2020-06-06all: use default linter optionsShulhan
2019-06-14all: fix nolint formatShulhan
The valid syntax to suppress linter warnings is "//nolint:<name>" with no space between comment and "nolint" and between ":". Also, we move the placement of nolint directive to the top of statements for multiple nolint in the same scope. While at it, fix and supress some linter warnings.
2018-11-30all: fix and suppress linter warnings on long linesShulhan
2018-11-30all: minimize and suppress linter warnings for global variablesShulhan
2018-09-18Merge package "github.com/shuLhan/dsv"Shulhan