From: Laurent Mazet Date: Sun, 16 Jun 2024 21:51:43 +0000 (+0200) Subject: reduce memory usage for dictionary building X-Git-Tag: v1.0~8 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=5f2c00b59e72f133b7e4b79cc272074ac390bc3c;p=scrabble.git reduce memory usage for dictionary building --- diff --git a/dict/makefile b/dict/makefile index acdcd87..2f5f798 100644 --- a/dict/makefile +++ b/dict/makefile @@ -74,8 +74,9 @@ include $(wildcard ${OBJ_DIR}/src.mk) aspell --dict-dir="$$(realpath $<)" -d "$$DICT_NAME" dump master "$$DICT_NAME" | \ aspell --dict-dir="$$(realpath $<)" -l "$$DICT_NAME" expand | \ tr -s '[:space:]' '\n' > "$@~" && \ - LC_ALL=C sort -S28G -u -o "$@~" "$@~" && \ + LC_ALL=C sort -S2G -u -o "$@~" "$@~" && \ mv "$@~" "$@" +# LC_ALL=C sort -S28G -u -o "$@~" "$@~" && \ $(OBJ_DIR)/no.low: make $(OBJ_DIR)/nb.low