Github user ajs6f commented on the pull request:
https://github.com/apache/jena/pull/110#issuecomment-168017775
Well, this branch is clearly not worth rebasing post #115, and I haven't
run a profiler on it anyway. I'll take a look at `TripleOps` and think a little
more about the problem.
I completely agree with your assessment, especially "At some point,
somewhere there is going to be some fiddly bit of code to do reordering." My
aim is for there to be only _one_ fiddly bit per reordering, for more clarity
and maintainability and less chance of error. Right now code like
'TripleTableForm` and `QuadTableForm` have many places where exactly the same
reordering logic is repeated, with only a method name difference. It's hard for
me to believe that there isn't a better way to do this. I just need to find one
that doesn't incur extra expenses while working with Java's single-valued
functions. I've tried by packing values into objects and then into arrays, so
I've got to find some other way.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---