From a31510806e762b0ef8b88b7b9814c6658514746c Mon Sep 17 00:00:00 2001 From: Amadeusz Juskowiak Date: Mon, 5 Dec 2016 18:30:44 +0100 Subject: [PATCH] using smallvec to store coefficients (coefficients upto power 3 are on the stack) --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8433cda..aff0178 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "xxcalc" -version = "0.2.0" +version = "0.2.1" dependencies = [ "rustyline 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index e7fa66b..2ffbe4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xxcalc" -version = "0.2.0" +version = "0.2.1" authors = ["Amadeusz Juskowiak "] keywords = ["calculator", "evaluator", "tokenizer", "lexer", "math"] repository = "https://github.com/alfanick/xxcalc-rs.git" diff --git a/README.md b/README.md index d7bf320..6b678ff 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,6 @@ extern crate xxcalc; use xxcalc::linear_solver::LinearSolver; use xxcalc::calculator::Calculator; -use xxcalc::polynomial::Polynomial; fn main() { println!("The result is {}", LinearSolver.process("2+2").unwrap());