Commit graph

111 commits

Author SHA1 Message Date
Ilya Yaroshenko
c39ec4cd43 reduce ndslice template bloat part 1 2016-09-30 01:43:05 +02:00
Ilya Yaroshenko
99532a8f41 fix issue 16503 : add fast math bridge for LDC 2016-09-23 20:29:28 +02:00
Ilya Yaroshenko
a3f205a19e fix 16501 and fix issue 16501 2016-09-23 20:29:15 +02:00
Andrei Alexandrescu
ca39f61132 Merge pull request #4780 from 9il/all
add uninitializedSlice
2016-09-20 13:24:48 -04:00
Ilya Yaroshenko
4f871af02f add uninitialised slice allocation 2016-09-17 01:00:14 +02:00
Andrei Alexandrescu
39957b56ef Merge pull request #4782 from 9il/repeatSlice
add repeatSlice
2016-09-16 18:15:25 -04:00
Andrei Alexandrescu
8170aac80c Merge pull request #4785 from 9il/ab
add anyEmpty and backward for Slice
2016-09-16 18:10:58 -04:00
Ilya Yaroshenko
40d290fe7a add anyEmpty and backward for Slice 2016-09-14 14:11:34 +02:00
Ilya Yaroshenko
a29e41cbfe remove pragma inline for generic code 2016-09-14 13:08:22 +02:00
Ilya Yaroshenko
1ea8b7a12e add repeatSlice 2016-09-14 12:01:05 +02:00
Dmitry Olshansky
488b399c8a Merge pull request #4693 from 9il/iota3
add iotaSlice variant with step
2016-08-09 20:05:48 +02:00
Dmitry Olshansky
31ef7f7c44 Merge pull request #4698 from 9il/zl
relax length constraints
2016-08-09 19:32:44 +02:00
Ilya Yaroshenko
bd33e92935 remove object file 2016-08-04 11:04:27 +02:00
Dmitry Olshansky
fba7339893 Merge pull request #4639 from 9il/mm3
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Ilya Yaroshenko
15c04beabd remove pragma(inline, false) 2016-08-03 16:22:33 +02:00
Ilya Yaroshenko
4866f6c79d add Slice.toHash 2016-07-31 18:07:42 +02:00
David Nadlinger
eb9e676783 Merge pull request #4647 from 9il/assign
fix Issue 16315 and optimise arithmetic operations for Slice
2016-07-31 15:50:26 +01:00
Ilya Yaroshenko
a92618b3a3 relax length constraints 2016-07-31 16:45:30 +02:00
Petar Kirov
fd0ceb2b39 Make iotaSlice implementation easier to understand 2016-07-31 15:18:50 +03:00
Ilya Yaroshenko
3e0a93325b fix Issue 16315, optimise arithmetic operations for Slice 2016-07-31 11:11:47 +02:00
Ilya Yaroshenko
c58e3fadc9 Issue 16308 - [ndslice] should always has save primitive
The reason is that Slice never calls front/popFront and others
primitives of underlaying range.

remove constraints for `save` in ndslice.selection
2016-07-31 10:43:26 +02:00
Ilya Yaroshenko
945feb73c5 add iotaSlice variant with step 2016-07-30 23:41:31 +02:00
Ilya Yaroshenko
52b694570c Merge pull request #4631 from jmh530/patch-1
[ndslice] Change pack example to something simpler
2016-07-27 21:08:56 +02:00
jmh530
4fbfeb6855 Changing enums to static immutable
Changing enums to static immutable because that is what Travis CI is telling me to do
2016-07-26 21:54:58 -04:00
jmh530
97efba121f Adding enums to avoid risk of GC allocation
Adding enums to avoid risk of GC allocation
2016-07-26 21:50:43 -04:00
jmh530
5b14ca79c3 Removing extra line between blocks
Removing extra line between blocks
2016-07-26 21:47:53 -04:00
jmh530
bdac4d2a93 Fixing white space on line 107
Fixing white space on line 107
2016-07-26 21:45:12 -04:00
jmh530
7ebce43896 Fixing white space
Trying to fix white space so that Travis CI passes.
2016-07-26 21:35:03 -04:00
jmh530
623d5b116e Fixing space after std.range
Adding a space after std.range to pass Travis CI.
2016-07-26 21:31:04 -04:00
jmh530
c84e8098b8 Fixing indentation and template parameters
Changing indentation to tab from 5 spaces for b. Also, change the formatting for template parameter to remove parentheses.
2016-07-26 21:12:22 -04:00
jmh530
56eb71c871 Update changes to have only one blank line
Was asked to have only one blank line. I assume this meant to split variables from asserts.
2016-07-26 18:43:53 -04:00
jmh530
f21cf84d99 Update changes to modify [0][0] to [0, 0]
Addressing comments to change [0][0] to [0, 0]
2016-07-26 18:41:56 -04:00
Brian Schott
3cf5e9a7fb Merge pull request #4638 from 9il/spec
add specialisation for byElement & byElementInStandardSimplex in case of 1D
2016-07-26 03:25:11 -07:00
Ilya Yaroshenko
dc996eb49c add specialisation for byElement & byElementInStandardSimplex in case of 1D 2016-07-26 09:55:56 +02:00
Ilya Yaroshenko
9a00cb53e7 Merge pull request #4263 from wilzbach/infer_type_for_make_array_with_ranges
infer elementType for ranges in makeArray,makeSlice
2016-07-23 08:57:42 +02:00
Sebastian Wilzbach
f35efe42f0 infer ElementType for ranges in makeArray and makeSlice 2016-07-23 01:21:34 +02:00
Sebastian Wilzbach
9a05cab46f [ndslice]: rename mod -> replaceWithArray 2016-07-21 19:48:25 +02:00
jmh530
1ab23fa70b Change pack example to something simpler
The original example for pack has too much stuff going on. Replacing it with a slimmer version that makes it a bit more clear what the impact of pack is. In particular, I feel like the asserts for shapes are necessary to make it obvious.
2016-07-21 10:53:53 -04:00
Brian Schott
48db636e9e Merge pull request #4606 from 9il/9il-patch-1
Simple fix for ndslice
2016-07-20 15:19:57 -07:00
H. S. Teoh
f9f99c116a Merge pull request #4625 from 9il/9il-patch-1
remove unused import
2016-07-20 11:46:18 -07:00
Ilya Yaroshenko
7af9336f03 simple docs fix 2016-07-20 18:26:29 +02:00
Ilya Yaroshenko
2bf9766c9a remove unused import 2016-07-20 18:18:51 +02:00
Ilya Yaroshenko
ee929f0a21 Update slice.d 2016-07-16 22:56:44 +02:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Vladimir Panteleev
38a6370788 Merge pull request #4303 from wilzbach/mref_phobos
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Brian Schott
1565a3243e Merge pull request #4324 from wilzbach/extend_whitespace_list
enforce: whitespace after catch
2016-05-16 19:04:43 -07:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
ZombineDev
f4333fa2cc Remove ref from the Slice.this parameters
This allows passing rvalues directly.
2016-05-14 21:42:15 +03:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00