RamonUnch

Results 476 comments of RamonUnch
trafficstars

Well for me it is seems to work fine, if the file is small enough to hold into memory (less than 280MB or so), then it loads after usually less...

There is a problem when you have long lines in a file, because the data get moved a thousand time in the line buffer as it gets filled by 1KB...

I already display Loading file... in the statusbar but the hourglass cursor is a must indeed.

@roytam1 I made a huge optimization (very simple) when it comes to loading times. #164 The idea is to add a reparse flag to the `Document::InsertingOperation()` function so that reparsing...

the difference should kick in when you have a huge line, try a 100MB line for instance. should be just a few seconds to load with the patch. binary files...

When I open .json files I often have the problem, often they are mono-line in the MB range...

Just in case for testing: [GreenPad1.20test.zip](https://github.com/RamonUnch/GreenPad/files/13310203/GreenPad1.20test.zip) I think also that the 64 bit build will be little affected because the intermediate buffer is 2MB which is crazy big and longer...

I reverted a reallocate change here that helps with performances when allocating long lines: https://github.com/roytam1/rtoss/blob/e0b647f027c12acbfaf5a6d4e37bef980cea4824/GreenPad/editwing/ip_doc.h#L64C1-L67 ```cpp alen_ = Max( alen_+(alen_>>1), len_+siz ); // 1.5xAlen ``` The original code used `Max(...

True, I thought about WinCE support, Emulation will probably be the only way to test it for me too. I never had a WinCE machine, I was not even aware...

I would be very interested to see GreenPad work on Windows CE, but as I said I do not have any real ways to test it, so It really depends...