Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31D84F8E7 for ; Thu, 21 Mar 2013 19:03:16 +0000 (UTC) Received: (qmail 86987 invoked by uid 500); 21 Mar 2013 19:03:16 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 86926 invoked by uid 500); 21 Mar 2013 19:03:16 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 86913 invoked by uid 500); 21 Mar 2013 19:03:15 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 86909 invoked by uid 99); 21 Mar 2013 19:03:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 19:03:15 +0000 Date: Thu, 21 Mar 2013 19:03:15 +0000 (UTC) From: "Alessandro Presta (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GIRAPH-579) Make it possible to use different out-edges data structures for input and computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alessandro Presta created GIRAPH-579: ---------------------------------------- Summary: Make it possible to use different out-edges data structures for input and computation Key: GIRAPH-579 URL: https://issues.apache.org/jira/browse/GIRAPH-579 Project: Giraph Issue Type: New Feature Reporter: Alessandro Presta Assignee: Alessandro Presta In some cases, the properties we want in the VertexEdges implementation during input may differ from the ones we want during computation. Two examples: 1) During input, we want to keep only the top K edges according to weight, so we use a fixed-size min-heap. During computation, our algorithm needs fast random access, so we use a hash-map. 2) We have a VertexEdges implementation that's optimized for space and/or iteration speed, but has slow insertion. We can then use a different data structure that has fast insertion during input. We can add an option to specify a different VertexEdges class to be used in EdgeStore during input. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira