The Special Items list is awesome. Great example of what can be done with TextMate, but I've noticed that the HTML Output can become really slow with larger files. I'm not really sure why it is so slow, is this a bug?
- Juan Carlos
p.s. my apologies if this has already been discussed.
On Apr 2, 2005, at 23:25, Juan Anorga wrote:
The Special Items list is awesome. Great example of what can be done with TextMate, but I've noticed that the HTML Output can become really slow with larger files. I'm not really sure why it is so slow, is this a bug?
Web kit is slow at refreshing, and in beta 5 I refresh the view each time there's new output. For beta 6 it'll do at most one refresh per second, which helps a lot.
thanks
On Apr 3, 2005 2:22 PM, Allan Odgaard allan@macromates.com wrote:
Web kit is slow at refreshing, and in beta 5 I refresh the view each time there's new output. For beta 6 it'll do at most one refresh per second, which helps a lot.
Is there a way to send the output once, so that webkit doesn't have to refresh so many times?
- Juan Carlos
On Apr 4, 2005, at 1:42, Juan Anorga wrote:
Web kit is slow at refreshing, and in beta 5 I refresh the view each time there's new output. For beta 6 it'll do at most one refresh per second, which helps a lot.
Is there a way to send the output once, so that webkit doesn't have to refresh so many times?
Not really -- you can e.g. pipe the output through 2 times 'cat' to get output buffering, but this buffer is likely not as big as your entire output, so you may still get several refreshes.
On Apr 3, 2005, at 8:56 PM, Allan Odgaard wrote:
On Apr 4, 2005, at 1:42, Juan Anorga wrote:
Web kit is slow at refreshing, and in beta 5 I refresh the view each time there's new output. For beta 6 it'll do at most one refresh per second, which helps a lot.
Is there a way to send the output once, so that webkit doesn't have to refresh so many times?
Not really -- you can e.g. pipe the output through 2 times 'cat' to get output buffering, but this buffer is likely not as big as your entire output, so you may still get several refreshes.
Also, the current implementation of Special Items List is piping once through a python script (grep grep) then again through a php script (simple line by line loop) and finally getting passed to WebKit. Python seems faster to me than [binary] PHP so.... eventually I plan to cut out the PHP script altogether and make everything happen in Python which will save some time. Also, it might be worthwhile to cache output but I won't try that until after beta 6.
k