Simple trick for optimizing GLbasic

Previous topic - Next topic

mentalthink

HI there, today I remember my a500 have a ramdisk, and I search something similar for Windows...

Well I´m not sure if any one test under a Ramdisk GLbasic, but for me runs very pretty more quick than use the real hard drive...

If you want test I leave the process, don't matter if you don't have too much memory, I'm using under paralell destops and only have 1.5Gb, I do a ramdisk whit 256 Mb for GLbasic.

1. Download this
http://www.techsnack.net/wp-content/uploads/2007/12/gavotramdisk.zip

2.Make the Ram Disk

4.If you want put Glbasic into the Ramdisk, only copy your files installed, In (Program files x86 and copy into Ram Disk), if you don't have too much space don't care I only use the Win32 Compiler... ***

4.*** The step of put the GLbasic into the Ramdisk not it's really needed I can't test the real increase of speed

5.Now I try this but for my actual project but don't runs, I did a simple project and works, but I can see the real speed.

6.Put your source files and projects in the RamDisk, and the use whit GLbasic standard(Program  files x86)

I advertising a lot of speed in load projects, when you change to view the functions and files, it's practically automatically , and when you modify some source file, when Glbasic Calls to the compiler, I think it's more quick in do the process... of course when you read the media folder, it's more faster too, not it's instantly but, at least I notice a good improvement in my machine...

Don't cost nothing the Soft it's free and if not works, only delete ...

Regards,




Moru

Yes, ramdisk is the best speedup you can do on data that isn't valuable (not very crash-resistent :-). Haven't thought about using it on GLBasic though since my projects are so small they only take a few seconds to compile. However I do use it on webservers with much success to the disbelief of the sysadmin, he wants to buy expensive SSD-disks for caching... :-)

And with todays computers you can cache so much in the ram if you build some proper autoload system. Thanks for the link for a windows based ramdisk, that will certainly come in handy.

mentalthink

Hi Moru it's true about crashing, but I every day make a backup of the current project in another hard drive... but really for me goes very quickly. I thinking about the SSD Drives, but now they are very very expensive... in the market we have a hybrid hard drive I think it's cost about 150$ and have some part SSD and the other part "Standard" (I put the post in another place... sorry I don't remember where it's).

About the soft, don't worry, I think about make RamDisk and OpenSource will be a lot.
Regards Moru.

Kitty Hello

For Ramdrive reasons, GLBasic Editor allows the setting of the TEMP directory ;)
Menu: Tools/Options.

mentalthink

Hi Gernnot, thanks I change the temp folder, but In my great file don't works appears a lot of errors about DGINT, but it's something about my project... I test  starting a new one... and works fine... and it's very very handly use a ramdisk...