Commit Graph

658 Commits

Author SHA1 Message Date
cfcb1e727a
Fix foldr scope 2022-05-30 05:43:08 +02:00
c7bfbe0657
Update the documentation link 2021-12-27 10:57:05 +01:00
0155039071
Replace rotate with bringToFront 2021-06-04 09:37:50 +02:00
c15a8993ec
Use sockets with new IP Address structs 2021-05-29 09:50:47 +02:00
be8fcb3e1c
Add Endpoint 2021-05-28 09:43:40 +02:00
d9fda61fe1
Pass tests with GDC 10.3 2021-05-27 08:14:12 +02:00
4f48544297
Allow building with GDC 10.3 2021-05-26 10:29:55 +02:00
938a1bb5b4
Replace short preconditions in the main package 2021-05-25 09:03:00 +02:00
b62cbb0647
Use std searching and iteration 2021-05-16 07:52:46 +02:00
2c21dc3429
Replace the ascii module with std.ascii 2021-05-15 13:31:47 +02:00
f0d8c616bb
Replace outdated import in the documentation 2021-04-15 09:38:59 +02:00
60b0562311 Update CI information 2021-03-30 08:33:45 +02:00
92284c8541
Replace Option with Nullable 2021-03-27 10:28:49 +01:00
0fcc83d00e
Remove the sys package 2021-03-12 08:48:35 +01:00
f27f62b80a
Fix InputRanges for non-copyable elements 2021-03-11 10:18:02 +01:00
a227b58407 Remove deprecated functionality 2020-05-06 07:08:14 +02:00
3ce5e8153c Update copyrights 2020-05-05 07:46:10 +02:00
c68b8d1bdd Update compiler, remove deprecated modules 2020-05-04 06:03:45 +02:00
048939410c Deprecate Integer and isPseudoprime() 2019-09-03 09:13:29 +02:00
c69282a8df Work around 2.086 bugs 2019-08-28 20:50:15 +02:00
0a973b46ba Add algorithm.iteration.foldr 2019-04-24 06:53:08 +02:00
73535568b7
Merge pull request #87 from n8sh/getAndPopFrontSafety
Ensure getAndPopFront/getAndPopBack don't promote `system` to `safe`
2019-04-22 10:50:58 +02:00
Nathan Sashihara
b2a1a849f8 Ensure getAndPopFront/getAndPopBack don't promote system to safe 2019-04-19 09:34:30 -04:00
76bda0ac8d Add getAndPopFront()/getAndPopBack() 2019-04-17 06:27:18 +02:00
f214f3baa2 Add algorithm.iteration.foldl 2019-04-16 07:20:52 +02:00
f66935f40d Build with -dip1000. Fix #85 2019-04-15 07:05:56 +02:00
9814e5ad8e Pass allocator in all HashTable/Set constructors 2019-04-14 09:07:22 +02:00
e6c6a2d21a Make Array.get system function
.get() returns a memory block that can be changed if the original array
is manipulated after getting the slice. So the slice returned by .get()
may allow access to invalid memory.
2019-04-05 08:58:22 +02:00
d55eac3bac Refactor allSatisfy, anySatisfy, staticIndexOf 2019-04-03 18:34:39 +02:00
b55bb767e5
Merge pull request #84 from n8sh/inoutConstIteration
In tanya.algorithm.iteration.take & retro preserve const/inout for `empty`/`front`/etc.
2019-03-29 08:36:50 +01:00
2b8471fe34 Add meta.trait.hasFunctionAttributes 2019-03-24 21:59:29 +01:00
Nathan Sashihara
10afe47bae In tanya.algorithm.iteration.take & retro preserve const/inout for empty/front/etc. 2019-03-23 23:41:20 -04:00
76f2cd7080 Add DIP25 compatibility. Fix #83 2019-03-23 06:42:50 +01:00
ad46afb10b Move memory/package.d into memory.allocator 2019-03-22 08:18:01 +01:00
a36b51f0c3 Fix MmapPool private tests; move remaining tests 2019-03-21 14:54:16 +01:00
0fe7308a22 algorithm: import searching publically 2019-03-20 07:30:47 +01:00
20c7e47ff7 net: Add missing public imports, move tests 2019-03-19 08:47:39 +01:00
484cb13317 Separate non-documentation tests from the code 2019-03-19 07:45:52 +01:00
5ab99cf887 Move memory functions into memory.lifecycle
- move
- moveEmplace
- forward
- emplace
- swap
2019-03-17 10:56:44 +01:00
85d7a2b9ca Move memory exception into memory.lifecycle 2019-03-16 10:35:28 +01:00
b458c6a380 Make subpackages of os, sys and encoding 2019-03-05 20:47:02 +01:00
5b850d532e Move meta into a separate subpackage 2019-03-02 08:08:10 +01:00
d7dfa3f6f1 net.ip.Address6.toString() recommended notation
Fix #65.
2019-03-01 08:28:36 +01:00
8fd0452cd0 algorithm.iteration: Add singleton()
... iterating over a single value.
2019-02-25 09:27:03 +01:00
df99ea45f2 range.adapter: new arrayInserter 2019-02-24 13:14:30 +01:00
87ba58098e format.sformat: Support range-based toString() 2019-02-19 06:39:39 +01:00
5a134ce768 net.ip: Implement .toString() with output ranges 2019-02-16 08:37:45 +01:00
0835edce1d range.adapter: Add container-range adapters. Fix #67 2019-02-16 08:36:50 +01:00
Nathan Sashihara
a786bdbec5 Use word-wise hash instead of FNV-1a for arrays of word-aligned scalars
Also special case int-aligned scalars on 64-bit machines.
On a 64-bit machine hashing an array of pointers is now ~5.95x faster
with LDC2 and ~8.54x faster with DMD, and hashing an array of ints is
~3.34x faster with LDC2 and ~8.12x faster with DMD.
2019-02-12 10:34:18 -05:00
0bef2ef76d Add sformat() writing to an output range 2019-02-12 07:37:24 +01:00