question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XorBinaryFuse8 failed to construct on some data

See original GitHub issue
public static void main(String[] args) {
        int n = 500000;
        long[] keys = new long[n];
        for (int i = 0; i < n; i++) {
            keys[i] = i;
        }
        XorBinaryFuse8.construct(keys);
    }

Execute this code will report:

java.lang.ArrayIndexOutOfBoundsException: 500001

Is there any paper/draft can help understand xor binary fuse algorithm?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
thomasmuellercommented, Dec 16, 2021

paper/draft can help understand xor binary fuse algorithm?

Yes, here the paper that contains all the theory about the fuse approach: https://arxiv.org/abs/1907.04749 - it doesn’t describe the construction algorithm we use here I’m afraid, but it explains the theory.

0reactions
konghuarukhrcommented, Dec 19, 2021

I find it is not fixed, this is another construction failure:

    public static void main(String[] args) {
        int n = 11511;
        long[] keys = new long[n];
        for (int i = 0; i < n; i++) {
            keys[i] = i;
        }
        XorBinaryFuse8.construct(keys);
    }

will report:

...

11511 keys; arrayLength 14336 reverseOrderPos 6371
Exception in thread "main" java.lang.IllegalStateException
	at org.fastfilter.xor.XorBinaryFuse8.addAll(XorBinaryFuse8.java:219)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · FastFilter/fastfilter_java - GitHub
XorBinaryFuse8 failed to construct on some data. #31 opened on Dec 15, 2021 by konghuarukhr.
Read more >
NIM067835: The "Failed to construct polygons" error is ...
1. In ArcCatalog, navigate to the folder where the new polygon shapefile will be stored. 2. Right-click the folder > New > Shapefile....
Read more >
FastFilter fastfilter_java Analysis & Statistics - Devscope.io
fastfilter_java XorBinaryFuse8 failed to construct on some data, at around 11511 entries 11 closed 🗓️ 11 months ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found