Skip to content

Commit

Permalink
reduce memory use further (#36)
Browse files Browse the repository at this point in the history
* part1

* fix tests

* add new test files

* block scopes

* further experiment

* details
  • Loading branch information
StefanVukovic99 authored May 12, 2024
1 parent f06290c commit 556c521
Show file tree
Hide file tree
Showing 18 changed files with 10,834 additions and 10,776 deletions.
518 changes: 280 additions & 238 deletions 4-make-yomitan.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ for target_lang in "${languages[@]}"; do

# Step 4: Run tidy-up.js if the tidy files don't exist
if \
[ ! -f "data/tidy/$source_iso-$target_iso-forms.json" ] || \
[ ! -f "data/tidy/$source_iso-$target_iso-forms-0.json" ] || \
[ ! -f "data/tidy/$source_iso-$target_iso-lemmas.json" ] || \
[ "$force_tidy" = true ]; then
node --max-old-space-size="$max_memory_mb" 3-tidy-up.js
Expand Down
Loading

0 comments on commit 556c521

Please sign in to comment.