]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agoUsing "same?" in more places.
John Benediktsson [Sat, 21 Jul 2012 17:22:44 +0000 (10:22 -0700)]
Using "same?" in more places.

11 years agokernel: adding "same?" which is "bi@ =".
John Benediktsson [Sat, 21 Jul 2012 17:22:29 +0000 (10:22 -0700)]
kernel: adding "same?" which is "bi@ =".

11 years agocompiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544
Doug Coleman [Sat, 21 Jul 2012 10:41:42 +0000 (03:41 -0700)]
compiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544

11 years agovocabs.parser: speedup parse-datum for numbers.
John Benediktsson [Sat, 21 Jul 2012 05:48:47 +0000 (22:48 -0700)]
vocabs.parser: speedup parse-datum for numbers.

11 years agonamespaces: do not create globals via "foo get".
John Benediktsson [Fri, 20 Jul 2012 22:09:06 +0000 (15:09 -0700)]
namespaces: do not create globals via "foo get".

11 years agotools.continuations: need one more rename.
John Benediktsson [Fri, 20 Jul 2012 22:03:45 +0000 (15:03 -0700)]
tools.continuations: need one more rename.

11 years agoxml.errors: using code generation to make XML error classes.
John Benediktsson [Fri, 20 Jul 2012 20:38:38 +0000 (13:38 -0700)]
xml.errors: using code generation to make XML error classes.

11 years agocontinuations: change continuation word to current-continuation. continuation is...
Doug Coleman [Fri, 20 Jul 2012 19:03:21 +0000 (12:03 -0700)]
continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358

11 years agoprettyprint.sections: Rename text tuple to text-section
Doug Coleman [Fri, 20 Jul 2012 18:49:25 +0000 (11:49 -0700)]
prettyprint.sections: Rename text tuple to text-section

11 years agostack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
Doug Coleman [Fri, 20 Jul 2012 17:48:16 +0000 (10:48 -0700)]
stack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
issuse #358

11 years agohelp: don't make word help create global boxes.
John Benediktsson [Fri, 20 Jul 2012 19:00:47 +0000 (12:00 -0700)]
help: don't make word help create global boxes.

11 years agoformatting: some cleanup, minor performance improvements.
John Benediktsson [Fri, 20 Jul 2012 16:40:30 +0000 (09:40 -0700)]
formatting: some cleanup, minor performance improvements.

11 years agomongodb/couchdb: use associate where possible.
John Benediktsson [Fri, 20 Jul 2012 16:37:54 +0000 (09:37 -0700)]
mongodb/couchdb: use associate where possible.

11 years agohashtables: Revert size of associate, but keep inlined. ~10s speedup on bootstrap
Doug Coleman [Fri, 20 Jul 2012 16:30:37 +0000 (09:30 -0700)]
hashtables: Revert size of associate, but keep inlined. ~10s speedup on bootstrap

11 years agohashtables: use H{ } clone in associate, make it inline.
John Benediktsson [Fri, 20 Jul 2012 16:04:21 +0000 (09:04 -0700)]
hashtables: use H{ } clone in associate, make it inline.

11 years agoassocs: inline assoc-empty? and make M\ enum at* not check bounds twice.
John Benediktsson [Fri, 20 Jul 2012 16:04:04 +0000 (09:04 -0700)]
assocs: inline assoc-empty? and make M\ enum at* not check bounds twice.

11 years agosequences: fix typo in docs for shorten.
John Benediktsson [Fri, 20 Jul 2012 15:38:52 +0000 (08:38 -0700)]
sequences: fix typo in docs for shorten.

11 years agonamespaces: Oops, one escaped the lab
Doug Coleman [Fri, 20 Jul 2012 15:38:30 +0000 (08:38 -0700)]
namespaces: Oops, one escaped the lab

11 years agoio.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific).
John Benediktsson [Fri, 20 Jul 2012 02:17:52 +0000 (19:17 -0700)]
io.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific).

11 years agobenchmark: assert some results.
John Benediktsson [Fri, 20 Jul 2012 02:10:09 +0000 (19:10 -0700)]
benchmark: assert some results.

11 years agohttp: Use make
Doug Coleman [Fri, 20 Jul 2012 00:52:43 +0000 (17:52 -0700)]
http: Use make

11 years agocompiler.tree.debugger: Remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:48:02 +0000 (17:48 -0700)]
compiler.tree.debugger: Remove make-assoc

11 years agomake: Add ,+ to make
Doug Coleman [Fri, 20 Jul 2012 00:47:50 +0000 (17:47 -0700)]
make: Add ,+ to make

11 years agocookbook: One less pitfall.
Doug Coleman [Fri, 20 Jul 2012 00:44:00 +0000 (17:44 -0700)]
cookbook: One less pitfall.

11 years agolint: remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:41:55 +0000 (17:41 -0700)]
lint: remove make-assoc

11 years agokoszul: Remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:41:46 +0000 (17:41 -0700)]
koszul: Remove make-assoc

11 years agobenchmark: rename main methods to be consistent.
John Benediktsson [Fri, 20 Jul 2012 00:35:47 +0000 (17:35 -0700)]
benchmark: rename main methods to be consistent.

11 years agomatch: make-assoc: -1
Doug Coleman [Fri, 20 Jul 2012 00:35:00 +0000 (17:35 -0700)]
match: make-assoc: -1

11 years agomatch: whoops.
John Benediktsson [Fri, 20 Jul 2012 00:09:23 +0000 (17:09 -0700)]
match: whoops.

11 years agomatch: revert to previous behavior, had a bug.
John Benediktsson [Thu, 19 Jul 2012 23:56:08 +0000 (16:56 -0700)]
match: revert to previous behavior, had a bug.

11 years ago"filter empty?" is "any? not".
John Benediktsson [Thu, 19 Jul 2012 23:33:01 +0000 (16:33 -0700)]
"filter empty?" is "any? not".

11 years agoprettyprint.config: string-limit? shouldn't be a global.
John Benediktsson [Thu, 19 Jul 2012 22:31:08 +0000 (15:31 -0700)]
prettyprint.config: string-limit? shouldn't be a global.

11 years agomore cleanup of with-scope.
John Benediktsson [Thu, 19 Jul 2012 22:11:33 +0000 (15:11 -0700)]
more cleanup of with-scope.

11 years agomore H{ } make fixes.
John Benediktsson [Thu, 19 Jul 2012 21:38:22 +0000 (14:38 -0700)]
more H{ } make fixes.

11 years agogoogle.translate: fix using.
John Benediktsson [Thu, 19 Jul 2012 20:56:13 +0000 (13:56 -0700)]
google.translate: fix using.

11 years agocleanup some use of with-scope.
John Benediktsson [Thu, 19 Jul 2012 20:55:34 +0000 (13:55 -0700)]
cleanup some use of with-scope.

11 years agomake: change default size of make-assoc.
John Benediktsson [Thu, 19 Jul 2012 20:53:42 +0000 (13:53 -0700)]
make: change default size of make-assoc.

11 years agomore cleanup for H{ } make.
John Benediktsson [Thu, 19 Jul 2012 18:39:56 +0000 (11:39 -0700)]
more cleanup for H{ } make.

11 years agomore use of H{ } make.
John Benediktsson [Thu, 19 Jul 2012 18:24:45 +0000 (11:24 -0700)]
more use of H{ } make.

11 years agousing the new H{ } make.
John Benediktsson [Thu, 19 Jul 2012 16:50:09 +0000 (09:50 -0700)]
using the new H{ } make.

11 years agofixing some docs.
John Benediktsson [Thu, 19 Jul 2012 16:47:14 +0000 (09:47 -0700)]
fixing some docs.

11 years agomake: allow make to be used to create assocs.
John Benediktsson [Thu, 19 Jul 2012 16:35:28 +0000 (09:35 -0700)]
make: allow make to be used to create assocs.

11 years agobenchmark.fib: give each benchmark a unique main method name.
John Benediktsson [Thu, 19 Jul 2012 04:17:34 +0000 (21:17 -0700)]
benchmark.fib: give each benchmark a unique main method name.

11 years agowith-variables: Monads has its own bind word. missed one bind in koszul.
Doug Coleman [Thu, 19 Jul 2012 08:51:07 +0000 (01:51 -0700)]
with-variables: Monads has its own bind word. missed one bind in koszul.

11 years agoio.sockets.unix: Needs to still use namespaces. Clean up using lists.
Doug Coleman [Thu, 19 Jul 2012 07:53:09 +0000 (00:53 -0700)]
io.sockets.unix: Needs to still use namespaces. Clean up using lists.

11 years agonamespaces: Rename ``bind`` to ``with-variables``. Update a few places that called...
Doug Coleman [Thu, 19 Jul 2012 07:02:47 +0000 (00:02 -0700)]
namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``.

11 years agosequences: faster last / set-last.
John Benediktsson [Wed, 18 Jul 2012 19:31:53 +0000 (12:31 -0700)]
sequences: faster last / set-last.

11 years agocsv: more permission parsing.
John Benediktsson [Wed, 18 Jul 2012 19:24:24 +0000 (12:24 -0700)]
csv: more permission parsing.

11 years agosequences.extras: adding ?trim.
John Benediktsson [Wed, 18 Jul 2012 18:41:23 +0000 (11:41 -0700)]
sequences.extras: adding ?trim.

11 years agoRevert "alien: these make "utf8 encode" 7-8% faster."
John Benediktsson [Wed, 18 Jul 2012 14:56:05 +0000 (07:56 -0700)]
Revert "alien: these make "utf8 encode" 7-8% faster."

This reverts commit c9664e746b0f4b51e5fde48284e01cc7c3243c76.

11 years agocore-foundation.strings: using map!.
John Benediktsson [Wed, 18 Jul 2012 05:54:08 +0000 (22:54 -0700)]
core-foundation.strings: using map!.

11 years agoalien: these make "utf8 encode" 7-8% faster.
John Benediktsson [Wed, 18 Jul 2012 05:52:37 +0000 (22:52 -0700)]
alien: these make "utf8 encode" 7-8% faster.

11 years agobenchmark.regexp: simple regexp matching benchmark.
John Benediktsson [Wed, 18 Jul 2012 03:35:39 +0000 (20:35 -0700)]
benchmark.regexp: simple regexp matching benchmark.

11 years agomath.intervals: using short-circuit logic.
John Benediktsson [Wed, 18 Jul 2012 03:08:12 +0000 (20:08 -0700)]
math.intervals: using short-circuit logic.

11 years agomemoize: speed up memoized functions with no arguments.
John Benediktsson [Wed, 18 Jul 2012 00:51:15 +0000 (17:51 -0700)]
memoize: speed up memoized functions with no arguments.

11 years agobenchmark.memoize: add zero arg memoized function.
John Benediktsson [Wed, 18 Jul 2012 00:49:09 +0000 (17:49 -0700)]
benchmark.memoize: add zero arg memoized function.

11 years agomemoize: use unsafe words.
John Benediktsson [Tue, 17 Jul 2012 23:24:30 +0000 (16:24 -0700)]
memoize: use unsafe words.

11 years agohashtables.identity: cache the identity hashcode on the wrapper.
John Benediktsson [Tue, 17 Jul 2012 23:04:27 +0000 (16:04 -0700)]
hashtables.identity: cache the identity hashcode on the wrapper.

11 years agobenchmark.memoize: adding a benchmark for memoization.
John Benediktsson [Tue, 17 Jul 2012 23:02:00 +0000 (16:02 -0700)]
benchmark.memoize: adding a benchmark for memoization.

11 years agohashtables.wrapped: INSTANCE: assoc and support new-assoc.
John Benediktsson [Tue, 17 Jul 2012 22:50:03 +0000 (15:50 -0700)]
hashtables.wrapped: INSTANCE: assoc and support new-assoc.

11 years agosimple-flat-file: using map! in some places.
John Benediktsson [Tue, 17 Jul 2012 22:29:56 +0000 (15:29 -0700)]
simple-flat-file: using map! in some places.

11 years agoassocs: faster map>assoc.
John Benediktsson [Tue, 17 Jul 2012 22:28:44 +0000 (15:28 -0700)]
assocs: faster map>assoc.

11 years agotools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr
Doug Coleman [Tue, 17 Jul 2012 19:05:55 +0000 (12:05 -0700)]
tools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr

11 years agographs: simplify by removing temporary namespace variables.
John Benediktsson [Tue, 17 Jul 2012 18:00:38 +0000 (11:00 -0700)]
graphs: simplify by removing temporary namespace variables.

11 years agosimple-flat-file: revert for now, caused bootstrap problems.
John Benediktsson [Tue, 17 Jul 2012 16:45:43 +0000 (09:45 -0700)]
simple-flat-file: revert for now, caused bootstrap problems.

11 years agosome cleanup.
John Benediktsson [Tue, 17 Jul 2012 15:53:40 +0000 (08:53 -0700)]
some cleanup.

11 years agoio.directories: fix mistaken refactor.
John Benediktsson [Tue, 17 Jul 2012 15:39:31 +0000 (08:39 -0700)]
io.directories: fix mistaken refactor.

11 years agoio.directories.hierarchy: faster directory-tree-files.
John Benediktsson [Tue, 17 Jul 2012 15:25:53 +0000 (08:25 -0700)]
io.directories.hierarchy: faster directory-tree-files.

11 years agoio.directories: cleanup and some performance improvements with move/copy.
John Benediktsson [Tue, 17 Jul 2012 05:03:49 +0000 (22:03 -0700)]
io.directories: cleanup and some performance improvements with move/copy.

11 years agousing if-zero in even more places.
John Benediktsson [Tue, 17 Jul 2012 02:38:49 +0000 (19:38 -0700)]
using if-zero in even more places.

11 years agoio: simplify stream-exemplar.
John Benediktsson [Tue, 17 Jul 2012 02:30:10 +0000 (19:30 -0700)]
io: simplify stream-exemplar.

11 years agocalendar: durations don't need to clone instants.
John Benediktsson [Tue, 17 Jul 2012 00:37:32 +0000 (17:37 -0700)]
calendar: durations don't need to clone instants.

11 years agocalendar: speed up >gmt.
John Benediktsson [Tue, 17 Jul 2012 00:28:49 +0000 (17:28 -0700)]
calendar: speed up >gmt.

11 years agocalendar: some minor performance improvements.
John Benediktsson [Mon, 16 Jul 2012 23:45:59 +0000 (16:45 -0700)]
calendar: some minor performance improvements.

11 years agowindows.time: fix using list.
John Benediktsson [Mon, 16 Jul 2012 22:46:52 +0000 (15:46 -0700)]
windows.time: fix using list.

11 years agousing if-zero in more places.
John Benediktsson [Mon, 16 Jul 2012 22:45:21 +0000 (15:45 -0700)]
using if-zero in more places.

11 years agowindows.time: faster windows-time>timestamp.
John Benediktsson [Mon, 16 Jul 2012 22:30:58 +0000 (15:30 -0700)]
windows.time: faster windows-time>timestamp.

11 years agosequences: prepend-as should be inlined.
John Benediktsson [Mon, 16 Jul 2012 18:54:32 +0000 (11:54 -0700)]
sequences: prepend-as should be inlined.

11 years agohints: prepend should have same hints as append.
John Benediktsson [Mon, 16 Jul 2012 18:07:13 +0000 (11:07 -0700)]
hints: prepend should have same hints as append.

11 years agosplitting.monotonic: revert to previous monotonic-split (thanks @k7f!).
John Benediktsson [Mon, 16 Jul 2012 14:39:03 +0000 (07:39 -0700)]
splitting.monotonic: revert to previous monotonic-split (thanks @k7f!).

11 years agocalendar.unix: fix timeval>seconds (thanks @k7f!)
John Benediktsson [Mon, 16 Jul 2012 14:37:02 +0000 (07:37 -0700)]
calendar.unix: fix timeval>seconds (thanks @k7f!)

11 years agovocabs.hierarchy: ensure-valid-root only once per root.
John Benediktsson [Sun, 15 Jul 2012 23:17:29 +0000 (16:17 -0700)]
vocabs.hierarchy: ensure-valid-root only once per root.

11 years agocsv: don't need optional first/last.
John Benediktsson [Sun, 15 Jul 2012 23:03:19 +0000 (16:03 -0700)]
csv: don't need optional first/last.

11 years agovocabs.hierarchy: some cleanup and minor speedups.
John Benediktsson [Sun, 15 Jul 2012 22:48:39 +0000 (15:48 -0700)]
vocabs.hierarchy: some cleanup and minor speedups.

11 years agocalendar.unix: making time conversions a lot faster.
John Benediktsson [Sun, 15 Jul 2012 22:16:28 +0000 (15:16 -0700)]
calendar.unix: making time conversions a lot faster.

11 years agovocabs: faster check-vocab-name.
John Benediktsson [Sun, 15 Jul 2012 21:21:25 +0000 (14:21 -0700)]
vocabs: faster check-vocab-name.

11 years agounicode.data: faster string operations by using constants instead of globals.
John Benediktsson [Sun, 15 Jul 2012 20:57:05 +0000 (13:57 -0700)]
unicode.data: faster string operations by using constants instead of globals.

11 years agocsv: faster, only use make when field contains quotes or newlines.
John Benediktsson [Sun, 15 Jul 2012 16:50:51 +0000 (09:50 -0700)]
csv: faster, only use make when field contains quotes or newlines.

11 years agosequences.extras: adding a trim-as word.
John Benediktsson [Sun, 15 Jul 2012 16:47:44 +0000 (09:47 -0700)]
sequences.extras: adding a trim-as word.

11 years agosequences.extras: adding a contains? (a faster sequence intersects?).
John Benediktsson [Sun, 15 Jul 2012 16:17:31 +0000 (09:17 -0700)]
sequences.extras: adding a contains? (a faster sequence intersects?).

11 years agocsv: faster for files that do not have blanks around delimiter.
John Benediktsson [Sun, 15 Jul 2012 16:15:55 +0000 (09:15 -0700)]
csv: faster for files that do not have blanks around delimiter.

11 years agotools.completion: fix chars-matching word.
John Benediktsson [Sat, 14 Jul 2012 23:14:48 +0000 (16:14 -0700)]
tools.completion: fix chars-matching word.

11 years agocsv: 20% faster.
John Benediktsson [Sat, 14 Jul 2012 22:33:24 +0000 (15:33 -0700)]
csv: 20% faster.

11 years agosplitting.monotonic: cleanup, a little faster.
John Benediktsson [Sat, 14 Jul 2012 22:22:34 +0000 (15:22 -0700)]
splitting.monotonic: cleanup, a little faster.

11 years agosequences.extras: bounds-check in rotate! and do exchange-unsafe.
John Benediktsson [Sat, 14 Jul 2012 22:12:18 +0000 (15:12 -0700)]
sequences.extras: bounds-check in rotate! and do exchange-unsafe.

11 years agoui.gadgets: rename max-dim and dim-sum.
John Benediktsson [Sat, 14 Jul 2012 06:19:21 +0000 (23:19 -0700)]
ui.gadgets: rename max-dim and dim-sum.

11 years agobenchmark.csv: adding a benchmark for csv.
John Benediktsson [Sat, 14 Jul 2012 05:20:34 +0000 (22:20 -0700)]
benchmark.csv: adding a benchmark for csv.

11 years agostrings.tables: adding empty format-table test case.
John Benediktsson [Sat, 14 Jul 2012 05:14:25 +0000 (22:14 -0700)]
strings.tables: adding empty format-table test case.

11 years agostrings.tables: fixing issue slicing empty arrays.
John Benediktsson [Sat, 14 Jul 2012 05:11:58 +0000 (22:11 -0700)]
strings.tables: fixing issue slicing empty arrays.

11 years agocsv: 20% faster reading, and 50% faster writing.
John Benediktsson [Sat, 14 Jul 2012 04:45:29 +0000 (21:45 -0700)]
csv: 20% faster reading, and 50% faster writing.