phobos-next 0.3.10
Various reusable D code.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
phobos-next
Additional useful containers, algorithms, wrapper types, traits etc. Several are generic enough to have a place in Phobos.
Documentation generated here.
Announcement here.
Includes
Containers
src/nxt/trie.d
: Trie with sortedness and prefix completion(s).src/nxt/dynamic_array.d
: Basic uncopyable array with value semantics and explicit copying via.dup
.src/nxt/fixed_dynamic_array.d
: Dynamically allocated (heap) array with fixed length.src/nxt/minimal_fixed_array.d
: Minimalistic statically-sized (stack) array of length smaller than 255 fitting in anubyte
for compact packing.src/nxt/open_hashmap.d
: Combined hashset and hashmap with open addressing and support for deletion via hole handling. Pointers and classes are stored as is with support for vacancy and hole handling. Vacancy support forstd.typecons.Nullable
.src/nxt/cyclic_array.d
: Cyclic array.src/nxt/filterarray.d
: Filter array.src/nxt/fixed_array.d
: Fixed-sized statically allocated (heap) array similar to C++std::array
.src/nxt/fixed_dynamic_array.d
: Fixed-sized heap-allocated array.src/nxt/bitarray.d
: A dynamically sized (heap) bit array.src/nxt/static_bitarray.d
: A statically sized (stack) bit array.- ...
For reference semantics wrap uncopyable containers in std.typecons.RefCounter
.
Wrapper types
src/nxt/bound.d
: A wrapper for bounded types.src/nxt/notnull.d
: EnhancedNotNull
.src/nxt/digest_ex.d
: A structured wrapper for message digests.- ...
Algorithms
src/nxt/integer_sorting.d
: Integer sorting algorithms, including radix sort.src/nxt/horspool.d
: Boyer-Moore-Hoorspool search.- ...
Utilities
src/nxt/dbgio.d
: Debug printing.src/nxt/csunits.d
: Computer Science units.- ...
Extensions
- Various extension to Phobos (often ending with _ex.d)
- ...
License
Boost
- Registered by Per Nordlöw
- 0.3.10 released 9 months ago
- nordlow/phobos-next
- github.com/nordlow/phobos-next
- BSL-1.0
- Copyright © 2021, Per Nordlöw
- Authors:
- Dependencies:
- arsd-official:terminal, silly, mir-algorithm
- Versions:
-
0.3.10 2021-Aug-31 0.3.9 2020-Aug-07 0.3.8 2020-Aug-04 0.3.7 2020-Jul-28 0.3.6 2020-Jul-28 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
306 downloads total
-
- Score:
- 1.6
- Short URL:
- phobos-next.dub.pm