geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nabarun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-2587) Refactor OrderByComparator's compare method
Date Fri, 03 Mar 2017 02:43:45 GMT
nabarun created GEODE-2587:
------------------------------

             Summary: Refactor OrderByComparator's compare method
                 Key: GEODE-2587
                 URL: https://issues.apache.org/jira/browse/GEODE-2587
             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
(v6.3.15#6346)

Mime
View raw message