Commit Graph

3597 Commits (e6d4b9054e2ea88a159aa5b6c6a9b159dbd713a6)

Author SHA1 Message Date
John Benediktsson 1f13eefad2 hash-sets: slightly faster filter-members. 2013-03-26 17:42:41 -07:00
John Benediktsson daaf090459 hash-sets: faster intersect and diff, when both are hash-sets. 2013-03-26 17:42:40 -07:00
John Benediktsson ac8473e0ea hash-sets: faster subset? and set= when both are hash-sets. 2013-03-26 17:42:40 -07:00
John Benediktsson 200e37671f hash-sets: faster intersects?. 2013-03-26 17:42:40 -07:00
John Benediktsson 28b194d5fc sets: inline small/large. 2013-03-26 17:42:40 -07:00
John Benediktsson 92c0faa918 hash-sets: simpler code. 2013-03-26 17:42:40 -07:00
John Benediktsson e25fe7c7cc sets: encourage re-use by adding (intersect) and (diff). 2013-03-26 17:42:40 -07:00
John Benediktsson 872e3c4e83 splitting: string-lines docs say it returns strings, so do that. 2013-03-24 19:45:29 -07:00
John Benediktsson c60d4a0066 sets: adding intersect!. 2013-03-24 16:48:45 -07:00
Doug Coleman 31e1fe54e3 core/extra tests: Fix word -> last-word 2013-03-24 01:11:54 -07:00
Doug Coleman f66c9cc206 classes.union/maybe: Check the members of the maybe{} in a different way. 2013-03-24 01:10:54 -07:00
John Benediktsson 244fca37a9 compiler.units: use ?adjoin. 2013-03-23 22:13:14 -07:00
John Benediktsson da84d1ce21 vocabs.loader: use adjoin-all. 2013-03-23 22:07:08 -07:00
Doug Coleman 1d8f1343e0 sorting: Rename merge tuple to merge-state. 2013-03-23 21:56:56 -07:00
Doug Coleman f028aff605 source-files.errors: Oops fix double define. 2013-03-23 21:54:44 -07:00
Doug Coleman 4aa8c93546 strings, multiline: Fix unexpected-eof. 2013-03-23 21:42:26 -07:00
Doug Coleman efe355804a vocabs.loader: Fix undefined-word. 2013-03-23 21:42:10 -07:00
Doug Coleman 2d9a15c7c1 lexer, parser: Rename unexpected-eof. 2013-03-23 21:35:50 -07:00
Doug Coleman 342b8e5cab words: Rename undefined. 2013-03-23 21:29:15 -07:00
Doug Coleman ee4f4ec997 source-files.errors: Rename error-type. 2013-03-23 21:25:19 -07:00
Doug Coleman a5781ff8cc io.encodings.utf16n: Rename utf16n. 2013-03-23 17:19:24 -07:00
Doug Coleman a82b460876 continuations: Rename restart to continue-restart. 2013-03-23 17:18:09 -07:00
Doug Coleman 918208aeb6 compiler.units: Rename redefine-error. 2013-03-23 17:14:53 -07:00
John Benediktsson 5c1d5a049f hash-sets: implement faster ?adjoin. 2013-03-23 16:58:31 -07:00
John Benediktsson fdcdc8daf7 sets: make ?adjoin a generic method. 2013-03-23 16:58:31 -07:00
John Benediktsson 5d11ada701 hashtables: remove stack effects from generic methods. 2013-03-23 16:58:30 -07:00
Doug Coleman b83af8c5d2 combinators: Forgot an iota method. 2013-03-23 16:37:36 -07:00
Doug Coleman 39eb4b06ec iota: iota vs iota-tuple. Sorry...for the tools to work! 2013-03-23 16:36:22 -07:00
Doug Coleman b4acfa376a definitions: Separate definition definitions. 2013-03-23 16:34:33 -07:00
Doug Coleman 158fff5990 source-files: Rename source-file. 2013-03-23 16:27:23 -07:00
Doug Coleman 5fab749dcc words: Change word -> last-word, set-word -> set-last-word. 2013-03-23 16:12:03 -07:00
John Benediktsson d6053dd81e sets: reverting push-unsafe change for now, seems to slow it down a little? 2013-03-23 15:31:46 -07:00
Doug Coleman f320edfa9a assocs-docs: Link of and ?of. 2013-03-23 15:12:43 -07:00
John Benediktsson 356ecca26b assocs: tweak docs for new-assoc. 2013-03-23 15:04:42 -07:00
Doug Coleman 48638b9188 classes.union: Fix circular reference between multiple definitions. Fixes #420 lol again.
Could be cleaner perhaps? I'm not seeing how right now.
2013-03-23 14:59:07 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson ccb46e62d4 sets: use push-unsafe in pruned. 2013-03-23 14:46:54 -07:00
John Benediktsson f963b2eb1b growable: use fixnum+fast and integer>fixnum. 2013-03-23 14:37:02 -07:00
John Benediktsson 544e5f81c5 hash-sets: speed up union on two hash-sets. 2013-03-23 14:17:10 -07:00
John Benediktsson dd5b02e252 sorting: move push-unsafe and push-all-unsafe to growable.private. 2013-03-23 14:16:44 -07:00
Doug Coleman ef5c7cfa50 splitting: Support SBUF" " with split-lines. Fixes #575. Thanks @mrjbq7
for the patch.
2013-03-23 14:00:29 -07:00
Doug Coleman 980d5f44b2 classes.union: Disallow unions to refer to themselves. Fixes #420 lol. Thanks @mrjbq7 for the patch. 2013-03-23 13:18:25 -07:00
John Benediktsson 02156a0c0c Revert "hash-sets: faster M\ hash-set union."
This reverts commit bb7a1017f5.
2013-03-22 22:05:06 -07:00
John Benediktsson 83408fedcd hash-sets: faster M\ hash-set union. 2013-03-22 21:52:56 -07:00
John Benediktsson bbe5f32d5f sequences: require non-negative-integer for iotas. 2013-03-22 16:05:00 -07:00
Doug Coleman 5bcdeee745 classes: Add a check that arguments to classoids are themselves classoids.
Introduce a new word-prop that makes tuple-class words classoids at parse-time so that
self-referential tuple definitions with maybe{} work, e.g. TUPLE: node { next maybe{ node } } ;
Add unit test.
Fixes #766.
2013-03-22 16:00:46 -07:00
John Benediktsson d802db939a sequences: use each-integer and all-integers? instead of iota. 2013-03-22 14:23:08 -07:00
John Benediktsson f7c35489e9 compiler.units: fix documentation for pair of hash-sets. 2013-03-21 21:26:54 -07:00
John Benediktsson 317db2826e sets: add proper spacing to docs. 2013-03-21 21:23:17 -07:00
John Benediktsson a2c241baea io.binary: faster >be. 2013-03-21 17:39:34 -07:00