Re: [commons-io] question: file content merge sort and binary search

2023-07-20 Thread ssz
he ecosystem, and FOSS in general. If you > are interested in I/O code and this interest matches the Commons IO > component of the Commons project, then great, there are some recent and not > so recent Jira tickets that could use some attention. > > Gary > > On Thu, Jul 20, 2

Re: [commons-io] question: file content merge sort and binary search

2023-07-20 Thread ssz
m not a user nor a developer of "Commons IO", so > I'm not the most suitable for entertaining this conversation and, > surely, I shouldn't be the only one...] > > Le jeu. 20 juil. 2023 à 10:33, ssz a écrit : > > > > Hi > > Sure, I will support my code. > &g

Re: [commons-io] question: file content merge sort and binary search

2023-07-20 Thread ssz
For sure, you can sort in-memory, no problem here. I think we need to find a well-known library with non-in-memory sorting and binary searching, it is better relatively new (java8+) On Thu, Jul 20, 2023 at 3:08 PM ssz wrote: > That's great! > - But ANT is quite an ancient system, and it

Re: [commons-io] question: file content merge sort and binary search

2023-07-20 Thread ssz
lter.html > > Gary > > On Thu, Jul 20, 2023, 07:38 Gilles Sadowski wrote: > > > Hi. > > > > [Disclaimer: I'm not a user nor a developer of "Commons IO", so > > I'm not the most suitable for entertaining this conversation and, > > surely, I shouldn'

Re: [commons-io] question: file content merge sort and binary search

2023-07-20 Thread ssz
: > Hi. > > Le mar. 18 juil. 2023 à 19:06, ssz a écrit : > > > > [...] > > > > We use this library as a second-level cache when parsing CIMXML RDF, this > > file-based cache contains triples, and also subject-type pairs (RDF > nodes). > > It is

Re: [commons-io] question: file content merge sort and binary search

2023-07-19 Thread ssz
I added some additional details to README.md Please let me know if I can add something for more understanding. On Tue, Jul 18, 2023 at 7:25 PM Gilles Sadowski wrote: > Hello. > > Le mar. 18 juil. 2023 à 17:35, ssz a écrit : > > > > here > https://github.com/sszuev/text

Re: [commons-io] question: file content merge sort and binary search

2023-07-18 Thread ssz
mar. 18 juil. 2023 à 17:35, ssz a écrit : > > > > here > https://github.com/sszuev/textfile-utils-examples/tree/master/src/test > > Yes, this shows the API and its usage, but I was also wondering > about actual uses. What kind of applications would need to call >

Re: [commons-io] question: file content merge sort and binary search

2023-07-18 Thread ssz
here https://github.com/sszuev/textfile-utils-examples/tree/master/src/test On Tue, Jul 18, 2023 at 12:03 PM Gilles Sadowski wrote: > Hello. > > Le mar. 18 juil. 2023 à 10:50, ssz a écrit : > > > > Hello there > > > > I see this issue on hold. >

Re: [commons-io] question: file content merge sort and binary search

2023-07-18 Thread ssz
ommons IO, it seems to me that IO is a lower level component and > does > > not match your offering and that Commons CSV might too much toward CSV > > files. OTHO, it does not seem like what you propose would be generic > enough > > to parse any binary file, say an old school

Re: [commons-io] question: file content merge sort and binary search

2023-07-09 Thread ssz
t; to parse any binary file, say an old school dBASE file, but I could be > wrong. > > Gary > > On Sun, Jul 9, 2023, 13:35 ssz wrote: > > > Does common-csv support **sorting** large? > > Does it support binary search? > > What should I do if I have a non-cs

Re: [commons-io] question: file content merge sort and binary search

2023-07-09 Thread ssz
: > If the intent is to process CSV files, you're missing quite parameters in > order to process all of the different CSV flavors, see Apache Commons CSV. > > Gary > > > On Sun, Jul 9, 2023, 13:16 ssz wrote: > > > text-files sort. e.g. CSV. > > > > Example

Re: [commons-io] question: file content merge sort and binary search

2023-07-09 Thread ssz
More example (in code): (sort) https://github.com/DataFabricRus/textfile-utils/blob/main/src/test/kotlin/MergeSortTest.kt#L202 (search) https://github.com/DataFabricRus/textfile-utils/blob/main/src/test/kotlin/BinarySearchTest.kt#L20 On Sun, Jul 9, 2023 at 8:14 PM ssz wrote: > text-files s

Re: [commons-io] question: file content merge sort and binary search

2023-07-09 Thread ssz
ch are really a bunch of bytes. > Do you have a relevant example (Java base)? > > This feels more like a database primitive to me. What am I missing? > > Gary > > On Sun, Jul 9, 2023, 10:42 ssz wrote: > > > It seems to be well-known and generic functionality, so it wou

[commons-io] question: file content merge sort and binary search

2023-07-09 Thread ssz
It seems to be well-known and generic functionality, so it would be nice to have it in some well-known common place. Is *apache/commons-io* this place? Here is the draft: https://github.com/DataFabricRus/textfile-utils This is my library made for DataFablic, it is written on kotlin with