- 18 Jul, 2015 9 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
all transitions and reductions on [error]. This leads to smaller stars (if the grammar uses [error]), hence faster run time.
-
POTTIER Francois authored
immediate feedback if it does not compile. Also fixed it to properly show the compilation error message.
-
POTTIER Francois authored
-
POTTIER Francois authored
written for ocamlyacc and menhir.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 17 Jul, 2015 11 commits
-
-
POTTIER Francois authored
size (6311, which means 8192) to a variable size, determined by the size of the alphabet and the star size of the state. This seems to lead to slightly slower behavior on small grammars and to slightly faster running times and lower memory consumption on large grammars.
-
POTTIER Francois authored
When emacs is open and reverts the buffer, this could help avoid interference.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
-
POTTIER Francois authored
A copy of OCaml's hashtbl.ml, with micro-optimizations. There is a tiny speed gain, but not really significant.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 16 Jul, 2015 3 commits
-
-
POTTIER Francois authored
The speed gain is quite clear, but depends on the initial size of the hash tables.
-
POTTIER Francois authored
Will probably try other approaches soon.
-
POTTIER Francois authored
Strangely, this slows things down and does not always save memory (!?).
-
- 15 Jul, 2015 7 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
(See patch in attic/word_and_lookahead.patch.) This consistently saves 10% or 15% in space but costs just as much in time, probably because hash-consing sees many more unique strings (about 30x).
-
POTTIER Francois authored
-
POTTIER Francois authored
and performance of a new version with respect to the previous version.
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
- 14 Jul, 2015 10 commits
-
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
This makes almost no difference: it saves 5 nodes out of 25K in the stars, and saves 10K facts out of 7M facts (on ocaml.mly --lalr).
-
POTTIER Francois authored
-
POTTIER Francois authored
-
POTTIER Francois authored
-