Why tpt++ slower than tpt?

  • Cracker1000
    18th Apr 2013 Member 0 Permalink
    Just wanna ask why tpt++ is slightly sower than the original tpt? I praise the work done by devs in inproving the tpt++ speed and this has helped a lot really. So the question is that why tpt++ slows at first and then gains the fpf for e.g When i paste a stamp the fps drops down to 19.18 and after 5 or 10 sec it becomes 31. WHY? and lastly is there any future plans to improve speed of tpt++?
  • fireball5000
    18th Apr 2013 Member 0 Permalink
    "for e.g When i paste a stamp the fps drops down to 19.18 and after 5 or 10 sec it becomes 31."

    It doesn't do that for me. o.O
  • boxmein
    18th Apr 2013 Former Staff 0 Permalink
    For example, the very user interface you see was re-coded and made better.
  • greymatter
    18th Apr 2013 Member 1 Permalink
    @cracker1000 (View Post)
    Most probably the overall slow framerate is because of all the new features.( tpt gave me 64 fps but tpt++ gives 55 fps with nothing on the screen). other then that it depends upon the computer's performance.
  • jacob1
    18th Apr 2013 Developer 0 Permalink
    I think it's because of the new interface, it does more than tpt did, and was completely redone. I'm not sure why it causes lag, probably more functions are being called and more checks being done or something ... but it just seems to. At least i've heard.

    Loading a stamp should not cause that much lag though, that sounds like a problem. Does that always happen? I can't get it to happen.
  • edza101
    18th Apr 2013 Member 0 Permalink

    Caching, buffering, saving, loading, drawing. Thats probably why it slows down ...

  • boxmein
    18th Apr 2013 Former Staff 0 Permalink
    @edza101 (View Post)
    Given that the old TPT didn't do that...
  • jacob1
    18th Apr 2013 Developer 0 Permalink
    it is not new features slowing it down, just the new interface does a little more.

    For things like the stamp browser, the old tpt rendered them all on startup. tpt++ renders them when you go in, making a very noticeable slowdown. The online browser is probably a bit faster than the old tpt though (and way less buggy, you probably forgot all the bugs by now) because it was written badly in the old one. (although I did a few things to make up for that in my mod / fixed bugs)

    Also things like the MVC (model view controller) type of way that tpt does things creates more things to do (and tpt++ doesn't really need it for how it functions), so that does even more. I'm pretty sure it's compiled with the same optimizations but i'm not sure.