View Single Post
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#25
Originally Posted by lbt View Post
The line-at-a-time isn't that great
Actually, the lines are only initially drawn one at a time. The scroll itself happens on the viewport level, so it doesn't really matter how many items are there (at least not on this scale). In fact, separate line items are good as the view does not have to render/clip text that has left the viewport. And of course, this way you have no document size limit.

50% cpu
Yes, that's me. The scroll never 'really' sleeps, it just stops moving.

Originally Posted by lbt
http://www.youtube.com/watch?v=PLdF84KZ3iQ (eventually)
Thanks !

Originally Posted by lcuk
/me considers dropping libliqbase.so somewhere and seeing what cpu usage and smoothness we can get
I'm just looking for a 'good-enough' solution here, I'm sure that with lower level stuff you could do better (neither python nor qt are speed champions). The really-really big advantage here is that LITERALLY the same script/app works on the NIT, Linux, Mac and Windows (potentially even S60) without a single platform specific line if you have pyqt. Try it !

Last edited by attila77; 2009-04-14 at 13:28. Reason: Thanks for the youtube clip