It could be an option when you run into memory limit in current setup. When you ask fif to search your whole disk it could come back and say it is so and so many files and sizes and you could then ask it to brake it into subsets - subjobs.
As it is now it runs for a long time and when it brakes you have nothing. The disks keep getting bigger and fif is the best search utility I know of. 2010/10/22 bill lam <[email protected]> > IIRC J, being a single thread process, just cannot breath once in a while > and then > resume running without terminating and returning control to os. However it > should be doable to divide the job into several smaller ones and running > one job and then finish and then the user press a button to running the > second > job, etc. Does it justify the effort for fif? > > Птн, 22 Окт 2010, Björn Helgason писал(а): > > If you for example write every hit into a file you do not have to lose > the > > results even if the program brakes because of something like running out > of > > memory because the file is still there. > > > > If the programs stops once in a while to ask the user for confirmation if > it > > should continue it is possible to make it stop then and there. > > > > You can put a control mechanism on top of the search that decides how > > long/much the program should search and at the start it can see how many > > files to search how big they are etc and then come up and breath once in > a > > while to see if it should go on or not. > > > > You can thus have different criteria for the program if the search > material > > is big or small. > > > > 2010/10/22 bill lam <[email protected]> > > > > [---=| TOFU protection by t-prot: 26 lines snipped |=---] > > > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
