Return-Path: Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: (qmail 56263 invoked from network); 15 Feb 2011 19:25:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 19:25:24 -0000 Received: (qmail 402 invoked by uid 500); 15 Feb 2011 19:25:23 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 192 invoked by uid 500); 15 Feb 2011 19:25:21 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 184 invoked by uid 99); 15 Feb 2011 19:25:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 19:25:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 19:25:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7F0AB1A6372 for ; Tue, 15 Feb 2011 19:24:57 +0000 (UTC) Date: Tue, 15 Feb 2011 19:24:57 +0000 (UTC) From: "Paolo Castagna (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <974390694.18424.1297797897516.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <904014679.5328.1297268157508.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Issue Comment Edited: (JENA-44) Support external sorting of bindings in ARQ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JENA-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994877#comment-12994877 ] Paolo Castagna edited comment on JENA-44 at 2/15/11 7:24 PM: ------------------------------------------------------------- > I'll merge in the changes from JENA-29 now. Great, then you could also experience the thrill of jena-patcher [1] script and update the JENA-44 SNAPSHOTs for people to try/test this (nice) patch. ;-) [1] https://github.com/castagna/jena-patcher was (Author: castagna): > I'll merge in the changes from JENA-29 now. Great, then you could also experience the trill of jena-patcher [1] script and update the JENA-44 SNAPSHOTs for people to try/test this (nice) patch. ;-) [1] https://github.com/castagna/jena-patcher > Support external sorting of bindings in ARQ > ------------------------------------------- > > Key: JENA-44 > URL: https://issues.apache.org/jira/browse/JENA-44 > Project: Jena > Issue Type: New Feature > Components: ARQ > Reporter: Sam Tunnicliffe > Priority: Minor > Attachments: JENA-44-0.patch > > > In QueryIterSort, the sorting of the contents of an Iterator is done in memory, using Arrays.sort. This can be problematic where the set to be sorted is large. A possible solution could be to use an external, disk-backed algorithm. A hybrid approach may be better, whereby we attempt the in-memory sort, but when the number of bindings encountered goes over a certain number, resort to the disk-backed variant. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira