Soft'N'Design Software
/
projects
/
scrabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a459e
)
reduce memory usage for dictionary building
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 16 Jun 2024 21:51:43 +0000
(23:51 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 16 Jun 2024 21:51:43 +0000
(23:51 +0200)
dict/makefile
patch
|
blob
|
blame
|
history
diff --git
a/dict/makefile
b/dict/makefile
index acdcd87d7d77978ae8d7fa0ae842787e74286f77..2f5f79892e9f6f69f44f47c9406375751366fcc2 100644
(file)
--- 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 -S2
8
G -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