[ https://issues.apache.org/jira/browse/LUCENE-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237366#comment-17237366 ]
Dawid Weiss commented on LUCENE-9047: ------------------------------------- Hmm.... I don't know. I look at this patch and I can't dodge the feeling that somehow it's become more complex and weird than it was before... All those calls to EndiannessReverserUtil kill me. Even the byte-by-byte snippets have become expanded into a multitude of local variables to be assembled again (I prefer the terse version that doesn't use local variables, to be honest). > Directory APIs should be little endian > -------------------------------------- > > Key: LUCENE-9047 > URL: https://issues.apache.org/jira/browse/LUCENE-9047 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > We started discussing this on LUCENE-9027. It's a shame that we need to keep > reversing the order of bytes all the time because our APIs are big endian > while the vast majority of architectures are little endian. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org