Search found 8 matches

by Cosmin33
Mon Aug 22, 2022 11:16 am
Forum: Support
Topic: 2 or more concatenated SRVs
Replies: 7
Views: 8232

Re: 2 or more concatenated SRVs

Ok. Sorry, I forgot to mention something: the srv's should be in different threads to work. A few years ago a Beta tester from AutoCorect (so with the old version of RV and SRV) tested with two sessions of the app in the same time. He says it worked faster than with one session (~ +20..30%). I will ...
by Cosmin33
Sun Aug 21, 2022 8:09 pm
Forum: Support
Topic: 2 or more concatenated SRVs
Replies: 7
Views: 8232

Re: 2 or more concatenated SRVs

Right now I am trying to increase the speed of the OCR Plus function, composed by dozens of Multiple Replacement with large dictionaries + other custom ones. On my computer (AMD processor 3.2 GHz, DDR3, 3 cores) it reaches even to 30 min. And I need a faster way so I could use bigger dictionaries to ...
by Cosmin33
Sun Aug 21, 2022 1:45 pm
Forum: Support
Topic: 2 or more concatenated SRVs
Replies: 7
Views: 8232

Re: 2 or more concatenated SRVs

OK. But, if you may change your mind in the future, how much it will cost to implement? Just in case I find a sponsor xdxd. As you may know, Abby FineReader is used for converting graphic text to normal (computer) text. Unfortunately is not so good - especially on non english languages. We (me and ...
by Cosmin33
Sat Aug 20, 2022 3:52 pm
Forum: Support
Topic: 2 or more concatenated SRVs
Replies: 7
Views: 8232

2 or more concatenated SRVs

Hi. Is it possible to show 2 or more SRVs vertically - at design time - but to show the document like it is loaded into just 1? The document should be "split" in equal parts in the SRVs and recomposed when saving. Or maybe a better internal item indexing can be made. The current one is not so fast ...
by Cosmin33
Sun Jul 31, 2022 1:07 pm
Forum: Support
Topic: RVData questions
Replies: 6
Views: 7790

Re: RVData questions

Actually I process only tabs from nontext items. So, if I would have access to stored size/length of text items, it would be easy to calculate final size. If I would use an TRVMemoryStream and SaveTextToStreamW, the text would be copied as a AnsiChar/Byte array in the stream. So I would still need a ...
by Cosmin33
Sat Jul 30, 2022 11:54 am
Forum: Support
Topic: RVData questions
Replies: 6
Views: 7790

Re: RVData questions

You do not want to free and reallocate memory many times while saving TRichView to a string? Ok, we need to allocate some buffer, write to it, and increase the buffer size (reallocate it) only on overflow. Does RVData stores also the length of the text items? Because you can calculate very fast the ...
by Cosmin33
Tue Jul 26, 2022 5:29 pm
Forum: Support
Topic: RVData questions
Replies: 6
Views: 7790

Re: RVData questions

Thank you. 1. Yes and no. I intend to move the code for getting the text and the search into text code into a few separate threads (depending on number of processors) but the code to write the changes into the srv/rve will still be in the main thread. So I will have to restrict the threads when the ...
by Cosmin33
Tue Jul 26, 2022 10:41 am
Forum: Support
Topic: RVData questions
Replies: 6
Views: 7790

RVData questions

Hi, 1. Is it RVData thread safe when 2 or more separate threads are simultaneously accessing it (most of the time reading from items)? 2. the function which copy RVData.Items (if it's Unicode text) into a widestring variable can it be modified to write the data directly into a memory area (Byte ...