|
|
|
Forum Guru
      
Group: Customers
Last Login: 11/18/2008 6:37:44 PM
GenoPro Version: 2.0.1.6
Posts: 150,
Visits: 629
|
|
| Today I had a bad experience with GenoPro. In Table Layout I clicked (righ mouse click) on "Erase Column" function because I thought that the selected column will disapear (will be hidden). Something completely different happend: GenoPro started delete all my data from this column step by step. I saw how many hundreds of records are erased - and what was terrible. there was nothing to do! I desperately tried to push Ctrl-C, ESC to stop the slow action of erasing, no chance. All my data from the field were erased. The only way was to do Undo manually for several hundreds of records. I know that this was my mistake, I was not aware what "Erase column" mean, but in case of such strong action there should be confirmation window and the action should be possible to stop (ESC or Ctrl-C).
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 8:09:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,878
|
|
| The problem is GenoPro creates an undo entry for each cell being erased, making the whole process very slow. I need to write some code to group "Undo" operations within the Table Layout, so if you want, you could undo the whole "Erase Column" operation within a single mouse click. This has been a long time on my todo list, and I was seriously thinking of adding this to Beta 16d before someone had this misfortunate experience.
|
|
|
|
|
Famous Writer
      
Group: Customers
Last Login: 12/1/2008 12:57:35 AM
GenoPro Version: 2.0.1.6
Posts: 239,
Visits: 3,871
|
|
imcon (6/16/2006)
Today I had a bad experience with GenoPro. In Table view I clicked (righ mouse click) on "Erase Column" function because I thought that the selected column will disapear (will be hidden). Something completely different happend: GenoPro started delete all my data from this column step by step. Don't you have Backups of your GNO files? I send them all the time by email to myself . You can use a Gmail or Yahoo acount for that matter
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Today @ 4:01:50 PM
GenoPro Version: 2.0.1.6
Posts: 826,
Visits: 7,420
|
|
| Im this case you do not need a backup, just close the file without saving and reload the original. You then only loose the work of that session.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 8:09:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,878
|
|
| I have good news. The Table Layout is now capable to group the Undo operations for the Paste, Erase Column and Find & Replace. Until now for instance, a paste operation was treated as editing multiple cells, making it very dificult to Undo. Since all the operations have been grouped under a single operation, I was able to improve the code to take advantage of this behavior by eliminating redundant computing between each operation. On my machine, erasing a column which was taking 30 seconds now takes less than 200 milliseconds. I tried on a larger tree, where it would have taken about 7 hours to erase 40,000 individual's IDs. With the new code, the same operation took 2 minutes. You are welcome to do your own benchmarks to compare the speed increase from Beta 16c and the coming Beta 16d. Although there is a significant speed increase, the code is still very slow... and can be improved. For now, I won't optimize anymore because I don't want to introduce bugs. As suggested, I wrote extra code to respond to the Escape key. If the user presses the Escape key while pasting, erasing a column or doing a Find & Replace, then GenoPro will stop and return to an idle state.
|
|
|
|
|
Famous Writer
      
Group: Customers
Last Login: 12/1/2008 11:23:05 AM
GenoPro Version: 2.0.1.4
Posts: 438,
Visits: 3,414
|
|
| Wow! I just tried the "Erase Column" feature that enables me to update the IDs after importing a new ged file, and was amazed at the speed with Beta 16e. Before this with my 17,500 names I had to start it and then leave the computer for half an hour or so and do something else, sometimes I came back to find genopro had crashed.  This time it took less than a minute! :P
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 8:09:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,878
|
|
iaintait (6/18/2006)
Before this with my 17500 names I had to start it and then leave the computer for half an hour or so and do something else, sometimes I came back to find genopro had crashed.  Yep, however GenoPro had not *really* crashed. When a task takes too long, Windows stops drawing anything from the window not responding, making it appear as it had crashed. Perhaps, if you had waited a few hours, you would have seen the final result P:P.
|
|
|
|
|
Forum Guru
      
Group: Customers
Last Login: 11/18/2008 6:37:44 PM
GenoPro Version: 2.0.1.6
Posts: 150,
Visits: 629
|
|
| Thank you. That's perfect. I'm always amazed by the speed of GenoPro and I admire the optimizing you have done. Nowadays it is rare to see that programmers do any optimizing. Visual Basic, NET, scripts etc. as easy as possible, and speed+memory? The new computers will solve the problems... Thia way of thinking was not possible in era of Z80 and I8080 and programs were fast and small. appleshaw: thanks for advise, I know it but that wasn't the solution.
|
|
|
|