pi1541 / Pi1541

Commodore 1541 emulator for the Raspberry Pi
GNU General Public License v3.0
379 stars 81 forks source link

Keyboard response is extremely slow with large directories #116

Open seanlynch opened 5 years ago

seanlynch commented 5 years ago

It's not entirely clear if it's just large directories, but Pi1541 1.18 takes a full second to respond to a key if I have more than about a screenfull of files in the directory. Many of my files have >16 character names. I've split files by first letter to mitigate this somewhat, but it looks like I may need to go to two levels.

seanlynch commented 5 years ago

It turns out the issue occurs with long filenames no matter how many or few files there are. If there are some number of files with long names, it's slow. It's plenty fast even with a whole lot of files as long as their names aren't too long. Haven't figured out the threshold yet, but my guess is that it's any filenames wider than the screen.

pi1541 commented 5 years ago

Are you using a OLED or just the HDMI screen?

seanlynch commented 5 years ago

I'm using both an OLED and an HDMI screen.

Dec 26, 2018, 8:33 PM by notifications@github.com:

Are you using a OLED or just the HDMI screen?

— You are receiving this because you authored the thread. Reply to this email directly, > view it on GitHub https://github.com/pi1541/Pi1541/issues/116#issuecomment-450071932> , or > mute the thread https://github.com/notifications/unsubscribe-auth/AAKO-nUB6kqnY9zarKWPHxFC32s7ijd6ks5u9E2ugaJpZM4Zf-Db> .