influxdb/pkg
Ayan George 2529799abb
refactor: Change ToLower comparisons to EqualFold (#18147)
When comparing strings in a case-insensitive way, strings.EqualFold() is
(almost?) always faster than comparing the results of strings.ToLower().

In addition, strings.EqualFold() never causes an allocation.

This patch replaces case-insensitive string comparisons that use
strings.ToLower() with a strings.EqualFold() call.
2020-05-18 19:46:59 -04:00
..
binaryutil Partition series file. 2018-01-10 08:33:25 -07:00
bloom Cleanup pkg package 2018-01-21 12:08:25 -08:00
bytesutil Cleanup pkg package 2018-01-21 12:08:25 -08:00
data/gen chore(gen): Back port improvements and changes from OSS 2.0 2019-03-20 11:01:50 -07:00
deep Update godoc for pkg 2016-12-30 18:03:01 -08:00
encoding/simple8b fix(storage): simple8b passes checkptr (#15512) 2019-11-22 07:39:44 -08:00
escape pkg/escape: Add benchmarks for all bytes escape/unescape funcs 2018-01-16 11:12:47 +13:00
estimator Fix misspelling identified by misspell 2019-02-03 20:27:43 +00:00
file fix(tsdb): attempt to work on docker on windows 2018-06-01 14:57:18 -06:00
limiter fix(storage): guard against compaction burst throughput limit (#14985) 2019-09-05 15:15:19 -07:00
metrics fix: address static check warning s1039 (#18135) 2020-05-18 13:55:05 -04:00
mmap Fix windows mmap on zero length file. 2018-06-29 10:24:16 -06:00
pool Cleanup pkg package 2018-01-21 12:08:25 -08:00
pprofutil Fix retain/release hang issues. 2017-12-06 09:09:41 -07:00
radix inmem: use radix sort for series ids 2018-07-17 12:31:12 -06:00
rhh Reduce allocations when inserting into RHH 2018-01-31 12:38:11 -07:00
slices refactor: Change ToLower comparisons to EqualFold (#18147) 2020-05-18 19:46:59 -04:00
snowflake pkg/snowflake: be more robust against sequence rollover 2018-08-16 11:18:06 -06:00
tar fix(tsdb): attempt to work on docker on windows 2018-06-01 14:57:18 -06:00
testing/assert storage service 2017-10-25 13:38:07 -07:00
tlsconfig tls: fix incorrect tls1.0 version mapping 2019-03-19 11:59:24 -06:00
tracing Convert TagValueSeriesIDCache to use string fields. 2019-02-12 14:22:40 -07:00
README.md Correctly name pkg README 2015-12-17 11:24:58 -08:00

README.md

pkg/ is a collection of utility packages used by the InfluxDB project without being specific to its internals.

Utility packages are kept separate from the InfluxDB core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the InfluxDB organization, to facilitate re-use by other projects. However that is not the priority.

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!