Erik Arvidsson
96e80f4878
JS: Change Chunk.p.ref to allow inlining
...
Not sure why the old code did not get inlined correctly. With this
change `ref` no longer shows up in my profile. (It was the hottest
function before.)
2015-12-17 17:32:03 -05:00
Erik Arvidsson
72cf6d72de
Merge pull request #801 from arv/remove-set-substract
...
Remove Set Subtract
2015-12-17 15:39:41 -05:00
Erik Arvidsson
1edbee5f34
Remove Set Subtract
2015-12-17 15:23:28 -05:00
Erik Arvidsson
201a8a46d6
Merge pull request #792 from rafael-atticlabs/betterCollections
...
JS Collection refactor, splore, crunchbase ui, & pitchmap update
2015-12-17 12:35:59 -05:00
Rafael Weinstein
6ee3b37cd3
JS Collection refactor, splore, crunchbase ui, & pitchmap update
2015-12-17 09:15:04 -08:00
Erik Arvidsson
efcffb55be
Merge pull request #788 from arv/set-union
...
Implement Set Union
2015-12-17 10:34:41 -05:00
Erik Arvidsson
b8be6908f8
Implement Set Union
...
This is done by creating a cursor for each set. This is a cursor for
the actual values in the sets. We then pick the "smallest" value from
the cursors and advance that cursor. This continues until we have
exhausted all the cursors.
setA.Union(set0, ... setN)
The time complexity is O(len(setA) + len(set0)) + ... len(setN))
2015-12-17 10:18:04 -05:00
Erik Arvidsson
5cb70f947f
Merge pull request #793 from rafael-atticlabs/doneInternalType
...
Ensure sequenceChunker.Done() returns an internal type so that callers dont have to
2015-12-17 09:40:05 -05:00
Rafael Weinstein
27d5f0d240
Ensure sequenceChunker.Done() returns an internal type so that callers dont have to
2015-12-17 06:20:28 -08:00
cmasone-attic
82e7e51697
Merge pull request #787 from cmasone-attic/cleanup
...
Some compound{Set,Map} cleanup
2015-12-17 06:09:47 -08:00
Aaron Boodman
50de9e842e
Merge pull request #791 from attic-labs/shove-fixens
...
shove: allow pulling from ref or ds head, like Git
2015-12-16 21:11:53 -08:00
Aaron Boodman
550462ae38
shove: allow pulling from ref or ds head, like Git
2015-12-16 20:40:22 -08:00
Chris Masone
a70c21116a
Some compound{Set,Map} cleanup
...
Remove a bad comment, one-line a few things in Filter()
2015-12-16 15:57:22 -08:00
cmasone-attic
3163ff00dc
Merge pull request #781 from cmasone-attic/mapfilter
...
Implement compoundMap Filter()
2015-12-16 15:50:37 -08:00
Dan Willhite
19228ba9d8
Merge pull request #784 from willhite/panics
...
Implement Filter on compoundList.
2015-12-16 14:06:57 -08:00
Dan Willhite
20f22e1020
Implement Filter on compoundList.
2015-12-16 13:32:00 -08:00
cmasone-attic
20e44e88a7
Merge pull request #786 from cmasone-attic/depanic
...
Re-land "Implement compoundSet.Filter()"
2015-12-16 13:07:28 -08:00
Chris Masone
a30209bcc7
Implement compoundMap Filter()
2015-12-16 12:57:41 -08:00
Chris Masone
57e2303a62
Re-land "Implement compoundSet.Filter()"
...
This reverts commit 60ab9c7f0c .
Fixes initial patch to correctly use test harness. Implementation is
based on newTypedSet(), so hopefully has similar performance
characteristics.
2015-12-16 12:53:13 -08:00
cmasone-attic
f1bbf37f3e
Merge pull request #785 from attic-labs/revert-777-depanic
...
Revert "Implement compoundSet.Filter()"
2015-12-16 12:43:24 -08:00
cmasone-attic
60ab9c7f0c
Revert "Implement compoundSet.Filter()"
2015-12-16 12:42:33 -08:00
cmasone-attic
f7f7cfaab0
Merge pull request #777 from cmasone-attic/depanic
...
Implement compoundSet.Filter()
2015-12-16 12:32:43 -08:00
Ben Kalman
c3ec9bdcb6
Merge pull request #774 from kalman/set-map-insert-remove
...
Implement chunked insert/remove for sets and maps.
2015-12-16 11:18:29 -08:00
Benjamin Kalman
2f22372c86
Implement chunked insert/remove for sets and maps.
...
There are some corner case failing tests, but this may be an existing bug
in the sequence chunker.
2015-12-16 11:02:41 -08:00
Dan Willhite
4e4cff2bd2
Merge pull request #779 from willhite/panics
...
Implement Map and MapP on compoundList.
2015-12-16 09:55:42 -08:00
Rafael Weinstein
9447d1025c
Merge pull request #780 from rafael-atticlabs/fixMoreClients
...
Fix xml-importer & pitchmap/indexer
2015-12-15 21:34:17 -08:00
Rafael Weinstein
9b107c145f
Fix xml-importer & pitchmap/indexer
2015-12-15 21:33:44 -08:00
Chris Masone
18c446e934
Add set-equivalence check to unit test
2015-12-15 20:08:51 -08:00
Dan Willhite
4268ded39c
Implement Map and MapP on compoundList.
2015-12-15 17:53:51 -08:00
Dan Willhite
eeea1e2056
Merge pull request #773 from willhite/panics
...
Implement IterAllP on compoundList.
2015-12-15 17:52:32 -08:00
Dan Willhite
efd9a2e00c
Implement IterAllP on compoundList.
2015-12-15 17:42:05 -08:00
Chris Masone
8171014b20
remove comment
2015-12-15 17:37:25 -08:00
Chris Masone
0d54e01dda
Implement compoundSet.Filter()
...
Implementation is based on newTypedSet(), so hopefully has similar
performance characteristics.
2015-12-15 17:14:11 -08:00
cmasone-attic
8a4b326de5
Merge pull request #776 from cmasone-attic/depanic
...
Implement compoundMap.MaybeGet() and compoundSet.First()
2015-12-15 16:55:59 -08:00
Chris Masone
31bf320370
Implement compoundMap.MaybeGet() and compoundSet.First()
...
A couple more simple ones before the hard stuff.
2015-12-15 16:34:04 -08:00
cmasone-attic
33d65bd48f
Merge pull request #772 from cmasone-attic/depanic
...
Implement compoundMap.First()
2015-12-15 16:10:54 -08:00
Chris Masone
55529946b7
Implement compoundMap.First()
...
Also, add TestCompoundMapFirst.
2015-12-15 15:31:41 -08:00
cmasone-attic
8857fe3368
Merge pull request #771 from cmasone-attic/issue677
...
Python test cleanup
2015-12-15 15:27:30 -08:00
Chris Masone
b282335aaa
Python test cleanup
2015-12-15 14:45:12 -08:00
cmasone-attic
69f399030e
Merge pull request #770 from cmasone-attic/issue677
...
Add noms.copy.Peers()
2015-12-15 14:12:44 -08:00
Chris Masone
51bcb98784
Add noms.copy.Peers()
...
As I was working on making deployment files get staged by Go/Python,
another pattern emerged. It seems like it will be not-uncommon to want
to stage all the files in the directory your script is in over to the
staging directory the system made for you. So, provide a helper to do
that.
2015-12-15 13:38:50 -08:00
cmasone-attic
8f4d22be22
Merge pull request #768 from cmasone-attic/issue677
...
Tools cleanup
2015-12-15 11:29:00 -08:00
Chris Masone
a47edc8431
Tools cleanup
...
Add a python test, clean up some error messages, and trim
env vars that don't need to be passed to build/staging scripts.
2015-12-15 11:18:00 -08:00
Aaron Boodman
23e3953d1e
Update README.md
2015-12-14 22:02:33 -08:00
Ben Kalman
2e451bea37
Merge pull request #741 from kalman/cl-insert-remove
...
Implement compoundList Insert/Remove/RemoveAt.
2015-12-14 13:32:46 -08:00
Benjamin Kalman
c5a6382d25
Implement compoundList Set/Insert/Remove/RemoveAt.
2015-12-14 13:23:48 -08:00
Ben Kalman
798e7fac7e
Merge pull request #759 from kalman/map-ref-order
...
Make types.Ref implement the OrderedValue interface.
2015-12-14 11:29:48 -08:00
Benjamin Kalman
9a3e73779d
Make types.Ref implement the OrderedValue interface.
...
This fixes the bug where compoundSets/Maps of refs are ordered by their
type.Ref's Ref, rather than their type.Ref's TargetRef.
2015-12-14 11:28:38 -08:00
Dan Willhite
2fd607b2f6
Merge pull request #762 from willhite/crunchbase-fix
...
Fix cut and paste error in crunchbase importer.
2015-12-14 10:56:51 -08:00
Dan Willhite
113f526785
Fix cut and paste error in crunchbase importer.
2015-12-14 10:30:30 -08:00