geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-2587) Refactor OrderByComparator's compare method
Date Wed, 17 May 2017 23:52:04 GMT


ASF subversion and git services commented on GEODE-2587:

Commit b3fc0c814948cdfeb3181fcb57d07886aba8691e in geode's branch refs/heads/develop from
[;h=b3fc0c8 ]

GEODE-2587: Refactored the OrderByComparator's compare method

	* This prevents creation of extra data structures like arrays of arrays
	* Hence let number of GC, faster execution of queries with ORDER BY

	This closes #517

> Refactor OrderByComparator's compare method
> -------------------------------------------
>                 Key: GEODE-2587
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: nabarun
> OrderByComparator's compare method creates a lot of objects / arrays with the intention
of comparing two objects.
> But allocation of memory for these objects results in GC to kick in.
> The additional time consumed in GC results in increased execution time for queries with
ORDER BY clause.
> This method must be refactored to require less memory allocations in order to compare
and thus speed up ORDER BY clause.

This message was sent by Atlassian JIRA

View raw message