Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison .shellcheckrc @ 756:33df05108ba1
farray.sh: New implementation alists: searching is done using a binary search now while preserving insertion order.
The implementation uses two key lists:
The first one is sorted and is used for searching using binary search.
The second is a double-linked list and is used for remembering the
insertion order.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 19 Oct 2024 22:40:11 +0200 |
| parents | e8eb5e7ceb37 |
| children | e18cc5fe828c |
comparison
equal
deleted
inserted
replaced
| 755:f6d296c5868e | 756:33df05108ba1 |
|---|---|
| 23 disable=SC3003 | 23 disable=SC3003 |
| 24 # In POSIX sh, lexicographical \< is undefined. | 24 # In POSIX sh, lexicographical \< is undefined. |
| 25 disable=SC3012 | 25 disable=SC3012 |
| 26 # In POSIX sh, local is undefined | 26 # In POSIX sh, local is undefined |
| 27 disable=SC3043 | 27 disable=SC3043 |
| 28 # ;& is non-standard | |
| 29 disable=SC2127 | |
| 28 | 30 |
| 29 enable=avoid-nullary-conditions | 31 enable=avoid-nullary-conditions |
