xbmc/xbmc — pull request #1526 by jmarshallnz (2012-10-03 06:27:33+00:00)
Title: faster scrolling in smaller lists

Faster scrolling, particularly in lists whose length is under about 70 or so, where previously the max speed was around 10 items per second, which is a bit on the slow side. It's now 30 items per second at full speed (and minimum 10 items per second during ramp-up).

I've also clarified the comments (which were correct, though perhaps not obviously so from the code) and made the code more explicit - please let me know if I can make these even more obvious if it's not understandable.

Doing as a PR because, while this works perfectly for me, I can't test on other systems and don't want to cause too much churn in master.

Works fine on win32 and OSX with the keyboard, which correctly reports held status. If a remote isn't reporting held status, then it won't even get to this code, so the problem is elsewhere.

@davilla, @Memphiz, @cptspiff I believe you've commented on speed before.