From 9a56e4db82f95bc7d6d7e7db677bc45076e3eac2 Mon Sep 17 00:00:00 2001 From: fitzwang Date: Fri, 16 Aug 2019 17:18:50 +0800 Subject: [PATCH] polish readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 572b3b7..f6f51c5 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,15 @@ # math2 A math lib optimized for sparse calculation. -The math lib is a self-developed new subject separated from previous Angel version. Other project such as mlcore, parameter server and Angel serving are based math lib. The math lib is designed for sparse calculation. The main features of math lib as following: +The math lib is a self-developed new subject separated from previous Angel version. Other projects such as mlcore, parameter server and Angel serving are based math lib. The math lib is designed for sparse calculation. The main features of math lib as following: ### 1. Smart rehash -We adopt a fast typed hash map (no general type) to store sparse vectors and matrix. As the calculation going, the vectors is getting more and more dense. As a result, many rehash emerged. To reduce the amount of rehash, we specification an operation type to every operator. +We adopt a fast typed hash map (no general type) to store sparse vectors and matrix. As the calculation going, the vectors is getting more and more dense. As a result, many rehash emerged. To reduce the amount of rehash, we specify an operation type to every operator. - the `union` type represents the output index is the union of the input indices; - the `intersection` type indicates the output index is the intersection of the input indices; -- the `all` type denotes the result would be dense. Once we known the operator type, we can use it reduce rehash greatly. +- the `all` type denotes the result would be dense. + +Once we known the operator type, we can use it reduce rehash greatly. | operator type | example | rehash | | ---- | ---- | ---- |