[racket] editor%
2013/1/2 Robby Findler <robby at eecs.northwestern.edu>
> The text% class is not really designed with large files in mind, but that
> does sound suspiciously slow. Can you perhaps post the code you use to load
> the file so we can double check it?
>
> Are you just doing:
>
#lang racket/gui
> (define t (new text%))
> (time (send t load-file ".../path/to/the/large/file"))
>
I am not using (time ...) to measure because something between 1s to
20-30s is human visible but I can do it
my code is really close to the demo in collect/mred/edit.rtk for the edit
part and this demo behave as slowly as mine on very big file
Yvan
> ?
>
> Robby
>
>
> On Tue, Jan 1, 2013 at 4:16 AM, Yvan Godin <yvan.godin at gmail.com> wrote:
>
>> Hello
>>
>> I have wrote little program with editor-canvas% but it is terrific slow
>> for big text log file loading.
>> So my question is,
>> Why is the Racket Editor (DrRacket or mred/edit demo) so slow when
>> loading big text file (over 1.5Mo) even for non colorized text?
>>
>> Scite ou Geany or Java Eclipse load my 1.2Mo bookmark HTML with syntax
>> color in ~1 second where Racket take up to 20 or 30 seconds
>>
>> thank's
>> Yvan
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>>
>>
>
--
------------------------------------------------------------
Yvan Godin
la CONF. *TECHMESH* sur le BigData<http://techmeshconf.com/techmesh-london-2012>
* 100% BIGDATA 0% HADOOP 0%
JAVA<http://techmeshconf.com/techmesh-london-2012/presentations/show_presentation.jsp?oid=4653>
*
la CONF *ERLANG à PARIS*<http://www.erlang-factory.com/conference/Paris2012>
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130102/f67188ed/attachment.html>