Hi
On Thu, 2008-03-06 at 17:11 +0100, Enrico Tröger wrote:
Remote filesystems are one reason, another reason is that this is IMO just unnecessary disk-IO which should be avoided. Think of hard drive life times and maybe it can be also a performance issue on older systems with older hard drives or when the hard drive is quite busy. I really don't like this, it can cause heavy load when switching between several times quickly.
IMHO, you are wrong about heavy load. It is just 1-3 access() call when you switch tab. It is not like geanyprj nuke disk every second or on every editing operation.
reload_project() is probably bad function name. It doesn't actually reload project every time. This happen only if path to project file is changed.
And don't forgot about cache. Currently geanyprj store all projects ever opened in cache (read waste RAM) ;-). I was planing to add option how many projects should be stored but get lazy. This way switching between files that belong to different projects happend almost instantly. And no disk IO at all.