1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

improved Sieve implementation ; add cargo update

This commit adds `cargo update` to the distclean target in the
makefile. This updates the Cargo.lock file when clearing the
deps directory.

In addition, it adds a faster implementation of the Sieve of
Eratosthenes for use by `src/factor/gen_table.rs` and `test/factor.rs`.
This commit is contained in:
kwantam 2015-05-15 19:26:31 -04:00
parent 9bc58bbdda
commit e1dac4695e
4 changed files with 190 additions and 25 deletions

View file

@ -329,7 +329,7 @@ clean:
$(RM) -rf $(BUILDDIR) $(TEMPDIR)
distclean: clean
cd $(BASEDIR)/deps && $(CARGO) clean
cd $(BASEDIR)/deps && $(CARGO) clean && $(CARGO) update
$(BUILDDIR):
mkdir -p $(BUILDDIR)/gen