On 27 avr. 2013, at 12:39, Denis Kudriashov <dionisiydk@gmail.com> wrote:
2013/4/27 stephane ducasse <stephane.ducasse@free.fr> Nice! Denis did you see the benchs that doru tried to see if we can use Rubric? Because it is interesting to see if we can load and manipulate really large file.
Now it would be good that alain releases Rubric with a stable version and check how to take advantage of the new TextMorph.
I saw his post. And just now I check this test with TxTextMorph with unwrapped strategy. Similar results like at Rubric test. nearly 30 secs. I generate 50 mb string with almost million lines: TxModel building get 10 seconds. Layout building get 20 seconds. impressive! I will have a look. Thanks Alain
If you want repeat this test you should not use #newTextContents: method. You should build text model manually and put it at morph by #textModel:. #newTextContents: method should be optimized. When I try test with #newTextContents: it was hang on very long time and I stop it.
Stef
On Apr 26, 2013, at 11:19 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote: