Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
11af4e1781
grouping: Remove <clumps> and <circular-clumps> and rename <sliced-clumps>
...
and <sliced-circular-clumps> to those. Fixes #765 .
2013-03-23 11:38:05 -07:00
Doug Coleman
8917ae9ad7
grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes
2013-03-23 11:37:51 -07:00
Doug Coleman
0c5d70e881
grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
...
Revert "change clump when the group size is greater than the sequence length"
This reverts commit baedb316c5
.
Conflicts:
basis/grouping/grouping-docs.factor
basis/grouping/grouping-tests.factor
basis/grouping/grouping.factor
2012-10-29 09:47:15 -07:00
Jon Harper
93cf443f32
Allow circular clumps with a length smaller than the clump
...
Conflicts:
basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper
0dfe8f949c
fixup: forgot the tests
2012-10-28 13:34:30 -07:00
Jon Harper
2fc1442771
change clump when the group size is greater than the sequence length
2012-10-28 13:34:08 -07:00
Joe Groff
d898ee86b6
grouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } { 2 3 4 } { 3 4 1 } { 4 1 2 } }
2010-02-25 17:05:03 -08:00
Slava Pestov
cb9261d975
grouping: add a unit test
2010-01-26 01:01:22 +13:00
Slava Pestov
a5d4f9cf16
grouping: clump on empty sequence was trying to make a sequence of length -1
2009-10-23 02:58:15 -05:00
Slava Pestov
ca2f01e0d0
Updating non-core libraries for monotonic? change
2009-01-16 17:02:54 -06:00
Slava Pestov
94292d1791
Move monotonic? unit tests to grouping
2009-01-15 15:37:30 -06:00
Slava Pestov
ce269c8733
Fix grouping unit test
2008-12-07 08:50:59 -06:00
Slava Pestov
ed3a81a503
Faster M: hashtable >alist performs less dispatch and allocates less junk
2008-11-11 23:03:50 -06:00