This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The idea is to replace HashMap<LongWritable, V> to Long2ObjectOpenHashMap<V> (and Map<Int...> to Int2Object...) This will save space and speed up some applications. I changed the type of such a map in TestGraph.java, which gives up to 2x speed up on an example of page rank computation (see comment below) JIRA: https://issues.apache.org/jira/browse/GIRAPH-1049 Test Plan: TestBasicCollections.java contain some tests Reviewers: sergey.edunov, maja.kabiljo, dionysis.logothetis, heslami, ikabiljo Reviewed By: heslami Differential Revision: https://reviews.facebook.net/D55587
- Loading branch information
Showing
38 changed files
with
1,305 additions
and
1,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.