Antoine Willerval
Antoine Willerval
Even with an OPS index, the dictionary sections are sorted using the strings, not the values, so you won't have sorted numbers, example:`"1000"` < `"2"`
Not with the current implementation
After a profiler run: In a // sort thead: ``` com.the_qa_company.qendpoint.core.util.string.ByteString.compareTo 649 443 ms (99,5 %) 0,0 ms (- %) 927 176 com.the_qa_company.qendpoint.core.util.string.CompactString.charAt 73 349 ms (11,2 %) 0,0 ms...
... 
Any news on what to do?
@hmottestad do you think you can get a look at how I have implemented it in the PR #5163?
We are using the RDF4J API to compute the SPARQL queries, which is not supporting multithreading correctly.
I think you can also get a look at the [ExceptionThread](https://github.com/the-qa-company/qEndpoint/blob/master/qendpoint-core/src/main/java/com/the_qa_company/qendpoint/core/util/concurrent/ExceptionThread.java) class, I've made it to bind threads together while keeping track of the exceptions.
It seems interesting, I wrote this part years ago when I was still an intern so it'll probably be easy to find even more to patch. But did you compute...
A threshold of what?