From f8b8a1f5804057bf150e60a757d86b984099a631 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Fri, 21 Oct 2022 19:08:23 +0200 Subject: Exponential search for largest potency. Speeds up the 20 and 32 byte cases. Has slightly negative impact for 16 byte case. --- src/passwordmaker/base_conversion/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/passwordmaker/base_conversion/mod.rs') diff --git a/src/passwordmaker/base_conversion/mod.rs b/src/passwordmaker/base_conversion/mod.rs index b1ffedf..dc98c92 100644 --- a/src/passwordmaker/base_conversion/mod.rs +++ b/src/passwordmaker/base_conversion/mod.rs @@ -9,8 +9,6 @@ mod iterative_conversion_impl; /// Converts an input to a different base (which fits in usize). Returns the digits starting at the most significant one. pub(super) trait BaseConversion { type Output : ExactSizeIterator; - // return type is subject to change. Hopefully soon the math will be rewritten, so we can skip the Vec and IntoIter. - // will have to remain an ExactSizeIterator though. fn convert_to_base(self, base : usize) -> Self::Output; } -- cgit v1.2.3