<div>2013/1/2 Robby Findler <span dir="ltr">&lt;<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>&gt;</span></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>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?<br><br>

Are you just doing:<br></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>#lang racket/gui</div>(define t (new text%))<br>
</div>(time (send t load-file &quot;.../path/to/the/large/file&quot;))<br></div></div></blockquote><div> </div><div>I am not using (time  ...) to measure because something between 1s to 20-30s is human visible but I can do it</div>
<div>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 </div><div> </div><div>Yvan  </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br>?<br><br></div>Robby<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 1, 2013 at 4:16 AM, Yvan Godin <span dir="ltr">&lt;<a href="mailto:yvan.godin@gmail.com" target="_blank">yvan.godin@gmail.com</a>&gt;</span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello<br><br>I have wrote little program with editor-canvas% but it is terrific slow for big text log file loading.<br>So my question is, <br>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? <br>


<br>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<br><br>thank&#39;s<span><font color="#888888"><br>     Yvan   <br clear="all">
<br>
</font></span><br></div></div>____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#000099" style="font-family:arial,sans-serif;font-size:12.666666984558105px;background-color:rgb(255,255,255)">------------------------------------------------------------</font><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.666666984558105px;background-color:rgb(255,255,255)">
<font color="#000099">              Yvan Godin</font></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.666666984558105px;background-color:rgb(255,255,255)"><div><a href="http://techmeshconf.com/techmesh-london-2012" style="color:rgb(17,85,204)" target="_blank">la CONF. <b>TECHMESH</b> sur le BigData</a> </div>
<div>              <i> <a href="http://techmeshconf.com/techmesh-london-2012/presentations/show_presentation.jsp?oid=4653" style="color:rgb(17,85,204)" target="_blank">100% BIGDATA 0% HADOOP 0% JAVA</a> </i></div><div><a href="http://www.erlang-factory.com/conference/Paris2012" style="color:rgb(17,85,204)" target="_blank">la CONF <b>ERLANG à PARIS</b></a> </div>
</div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.666666984558105px;background-color:rgb(255,255,255)"><span style="background-color:transparent"><font color="#000099">------------------------------------------------------------ </font></span></div>