Author Topic: Do not try this at home......  (Read 3176 times)

0 Members and 1 Guest are viewing this topic.

Jeff_M

  • King Gator
  • Posts: 4094
  • C3D user & customizer
Do not try this at home......
« on: January 04, 2006, 07:37:44 PM »
I am an untrained professional  :evil:  :lmao:

So I just learned a very important lesson. One that I should've learned somewhere in my past, I'm sure. :realmad:

The other day I saw a neat little challenge over on the Adesk LDD newsgroup and found a "messy" solution, as it was called by the person who origianlly asked about it. I didn't think much of it at the time as it was just a fun little excercise. Well today I had a bit of free time so I thought I'd try to 'optomize' the routine to clean it up........

So my lesson is this, don't EVER, EVER, EVER, try a new chunk of code while:
1. You are working in a real world drawing
2. Said real world drawing has a HUGE database of the objects you are testing
3. You are expecting a call to be able to continue what you were doing before you had said free time........

Prior to my 'optimizations' this code ran in the same drawing in about 5 seconds.  :kewl:
Well, as I type this it has now been running for 37 minutes. I've checked and double-checked to make sure that it cannot get into an infinite loop so that is not an issue  :lmao: :cry:

I think it's time for a beer........

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Do not try this at home......
« Reply #1 on: January 04, 2006, 07:43:49 PM »


sometimes I wonder about parallel universes ... hehehehehe ..


extreme perhaps, but I'd once thought about disabling the VLIDE command except in my coding profile.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

LE

  • Guest
Re: Do not try this at home......
« Reply #2 on: January 04, 2006, 07:50:23 PM »
Jeff;

Start writting 100 pages:

Quote
I am not going to this anymore....

 :evil:

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Do not try this at home......
« Reply #3 on: January 04, 2006, 08:48:37 PM »
The last one for me was two weeks ago when a DCL file hung & the only way out was
Ctrl+Alt+Del but is was a test drawing. he he he  :evil:
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: Do not try this at home......
« Reply #4 on: January 04, 2006, 09:59:04 PM »
Jeff;

Start writting 100 pages:

Quote
I am not going to this anymore....

 :evil:

May we use lisp? *lol*
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org