Commit graph

184 commits

Author SHA1 Message Date
Nathan Marz
a687f4a0bc test for traverse + make it work in cljs 2016-06-13 14:51:20 -04:00
Nathan Marz
66d1ce65f3 Merge branch 'master' into traverse 2016-06-13 13:51:03 -04:00
Nathan Marz
f26aa001eb make MAP-VALS work on nil 2016-06-11 09:51:28 -04:00
Nathan Marz
3dc7ad25ff added collected? and DISPENSE navigators 2016-06-10 07:57:18 -04:00
Nathan Marz
e20278cf97 fix typo in docstring 2016-06-09 23:19:34 -04:00
Nathan Marz
911dab5e52 add non-init reduce case to traverse 2016-06-09 23:19:12 -04:00
Nathan Marz
f605167a53 implement traverse 2016-06-09 23:19:11 -04:00
Nathan Marz
3af11575d7 fix typos in docstrings 2016-06-09 23:19:03 -04:00
Nathan Marz
0c4c4369a2 eliminate compiler performance warning regarding case 2016-06-09 17:32:40 -04:00
Nathan Marz
b22ff2bb2a add in transients namespace 2016-06-09 08:46:29 -04:00
Nathan Marz
4565a7e7d6 fail cljs build on any warnings, eliminate warning about com.rpl.specter.transient namespace by renaming to transients 2016-06-09 08:06:17 -04:00
Nathan Marz
98343784bf fix end, last, beginning, and first to work on nil 2016-06-08 14:42:24 -04:00
Nathan Marz
9045e13386 merge 2016-06-08 13:58:15 -04:00
Alex Engelberg
fbb7a17197 Add META navigator, test case, and benchmarks 2016-06-08 08:18:10 -07:00
Nathan Marz
49957f2536 Merge pull request #107 from aengelberg/transient-navigators
Transient navigators
2016-06-08 05:48:51 -04:00
Alex Engelberg
2147584dca Change reduce to reduce-kv 2016-06-07 23:16:54 -07:00
Nathan Marz
0f475ddba3 merge in optimizations to END 2016-06-07 16:11:21 -04:00
Nathan Marz
5161f6dfbf optimize END for vectors 2016-06-07 16:07:01 -04:00
Nathan Marz
ec05c14225 document exact semantics of select*/transform* needed for Navigator 2016-06-07 14:34:32 -04:00
Nathan Marz
e698f5f06b bump version, optimized multi-path select, lots of select-any tests 2016-06-07 12:35:59 -04:00
Nathan Marz
205b6a1319 fix MAP-VALS 2016-06-07 10:51:08 -04:00
Nathan Marz
6580f4df4b added selected-any? helper operation 2016-06-07 10:47:18 -04:00
Nathan Marz
81ec559e69 docstring for MAP-VALS 2016-06-07 10:31:07 -04:00
Nathan Marz
e76363c532 more docstrings and benchmarks 2016-06-07 10:18:20 -04:00
Nathan Marz
88a79e3d77 add docstrings for new API elements 2016-06-07 09:40:14 -04:00
Nathan Marz
a4c941b744 cljs compatible 2016-06-07 00:49:52 -04:00
Nathan Marz
68ac32ef56 optimize if-path and selected? for non basic fn case 2016-06-06 21:30:14 -04:00
Nathan Marz
f3bf935509 new semantics for select* for increased performance, new select-any operation with maximal query performance, needs more tests 2016-06-06 20:29:45 -04:00
Nathan Marz
ae98aa48ba add specialized MAP-VALS navigator to circumvent the unavoidable overhead of [ALL LAST] 2016-06-06 16:03:08 -04:00
Nathan Marz
571ba316da Fix #109 2016-06-06 07:48:30 -04:00
Nathan Marz
c81ba0196f eliminate warning about intern for bootstrap cljs 2016-06-06 07:38:21 -04:00
Alex Engelberg
399e5661f1 The (identical?) trick doesn't work in cljs, but select-keys does 2016-06-05 22:11:34 -07:00
Alex Engelberg
25ba21d9ee Remove no-longer-used transient-all-select|transform 2016-06-05 21:47:44 -07:00
Alex Engelberg
cb0dc261cf Add tests for transients, fix transient navigators based on test failures 2016-06-05 21:38:14 -07:00
Alex Engelberg
067ce9edee Remove ALL! and filterer! 2016-06-05 11:11:14 -07:00
Alex Engelberg
b3e581f737 WIP, transient navigators 2016-06-05 10:08:30 -07:00
Nathan Marz
ff903cd236 optimize selected? and not-selected? 2016-06-04 22:57:56 -04:00
Nathan Marz
f82ab31b36 expand optimized if-path to encompass any sequence of static functions 2016-06-04 21:22:57 -04:00
Nathan Marz
2d3902f478 huge speedup to if-path when condition is a single statically known function, big optimization for all transforms that don't use value collection by using identical? instead of empty? 2016-06-04 20:49:57 -04:00
Nathan Marz
94d5d2021a add nil case for all-transform 2016-06-04 17:22:27 -04:00
Nathan Marz
a4857a9d57 Fix #96 2016-06-04 17:19:39 -04:00
Nathan Marz
86f05b3cbe major performnace enhancements for ALL on vectors (2x) and maps (10% for arraymas, 25% for hashmaps) 2016-06-04 17:12:40 -04:00
Nathan Marz
0bc26c950e implement cond-path in terms of if-path to avoid all runtime sequence operations 2016-06-04 16:40:34 -04:00
Nathan Marz
ff2853381c huge speedup to if-path by having specialized implementation separate from cond-path 2016-06-04 15:01:28 -04:00
Nathan Marz
59423c358e huge speedup for cond-path 2016-06-04 14:51:26 -04:00
Nathan Marz
b6e1f5f20f defprotocolpath docstring 2016-06-04 14:30:38 -04:00
Nathan Marz
57a2e967d4 defpathedfn docstring 2016-06-04 14:23:09 -04:00
Nathan Marz
58865ee10d fill in missing docstrings 2016-06-04 09:40:41 -04:00
Nathan Marz
d9443232d8 add docstrings to the core select/transform/etc. macros 2016-06-04 09:29:45 -04:00
Nathan Marz
e1138747d9 fix #103 2016-06-03 16:25:27 -04:00