You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (Jira)" <ji...@apache.org> on 2026/10/12 22:36:00 UTC

[jira] [Created] (CAY-3050) Array-based DataRows

Andrus Adamchik created CAY-3050:
------------------------------------

             Summary: Array-based DataRows
                 Key: CAY-3050
                 URL: https://issues.apache.org/jira/browse/CAY-3050
             Project: Cayenne
          Issue Type: Task
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 5.0-M4


Reading values from DataRows is now on the hot path during select after all the other improvements that we made. Let's redesign DataRows into an array-based  "enum map" with a single flyweight header. Then batch access to row values can be done by index, which is much faster. 

Also, making DataRow immutable (but still implementing Map) as mutability would not allow this contract to exist.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)