| 1 | ||
|
Editor: antont
Time: 2004/07/20 12:16:57 GMT+0 |
||
| Note: | ||
changed: - <pre> 11:47 < tetron> yea in that case a recycle() method is a very good idea, and I haven't dealt with it yet 11:48 < tetron> but to answer your original question, my thinking is that the order of preference would be COD, type factory, direct creation 11:48 < kao> ok, i'll do it that way then 11:48 < kao> and wait for a recycle method :-) 11:48 < tetron> since presumably you would prefer your custom avatar to the generic one 11:49 < kao> sure 11:49 < tetron> hmm, I have a feeling that I never finished implementing COD factories though. I'm not sure 11:49 < tetron> only 24 hours in the day... 11:49 < kao> hehe 11:49 < kao> and i dont want to rob you of more of them than absolutely necessary .-) 11:50 < kao> i'll be back in the evening, that is in 8 hours from now 11:50 < kao> we can discuss this then 11:51 < tetron> well I'm going to bed, will be up 8 or 9 hours from now, and maybe I'll be on IRC from work11:51 < tetron> we'll see 11:51 < tetron> good night 11:51 < kao> sleep well 11:51 * tetron waves 11:51 < antont> good sleep 11:51 * tetron collapses into a heap 11:51 * kao thinks tetron should beware the GC then 11:52 < tetron> GC? 11:52 < tetron> ah 11:52 * tetron gets it 11:52 < kao> garbage collector :-) 11:53 < antont> that makes a scary nightmare 11:53 < antont> might be a fun music video too! 11:53 * kao likes to hand out nightmares... muhahaha 11:54 < antont> .. the main character being an object, that some evil whatever removes the last reference to, and the poor object has to run and avoid gc and try to get another reference to it 11:54 < kao> "reference me! oh please, someone reference me!" 11:55 < kao> isnt that a bit too surreal for your average non-geek? 11:56 < antont> if you visualize it somehow that works for non-geeks, it might be enjoyable even if you wouldn't get the underlying idea..? though my ideas often are more for geeks, and i don't mind 11:56 < kao> hm... the bject could snap for "dangling pointers" :-) 11:56 < antont> heh, yes :) 11:58 < kao> hm... a fish on the hook, which is happy despite the hook, cause the bigger fish know what a hook is, and wont eat it... and then, desperately trying to catch another hook, with a big fish in pursuit. trying to get back to that comfortable but false sense of safety 11:58 < kao> wow, this is getting deep 11:59 < antont> i put this as note to http://studio.kyperjokki.fi/FirstAndLast/GarbageCollection - do you mind? it's not linked from anywhere yet, might parent to CandidateWorlds where are misc. ideas in public 11:59 < siana> Title: FirstAndLast GarbageCollection (at studio.kyperjokki.fi) 12:00 < kao> no, have fun :-) 12:00 < antont> ok, am parenting.. 12:00 < kao> if you make this a video clip, send me a copy :-) 12:00 < antont> definitely :) 12:00 < antont> but don't expect it too soon .. let's say, a year or two perhaps :o 12:00 < kao> np, it'd be a nice surprise then 12:01 < kao> i like the idea of the fish on the hook though 12:01 < kao> wish i'd be more of a poet to make something of it. 12:01 < antont> and i guess, if i'm to do it, it more probably becomes a simple (py)game .. which might be fun, some action 12:01 < kao> hahaha, yes. </pre>
11:47 < tetron> yea in that case a recycle() method is a very good idea, and I haven't dealt with it yet
11:48 < tetron> but to answer your original question, my thinking is that the order of preference would be
COD, type factory, direct creation
11:48 < kao> ok, i'll do it that way then
11:48 < kao> and wait for a recycle method :-)
11:48 < tetron> since presumably you would prefer your custom avatar to the generic one
11:49 < kao> sure
11:49 < tetron> hmm, I have a feeling that I never finished implementing COD factories though. I'm not
sure
11:49 < tetron> only 24 hours in the day...
11:49 < kao> hehe
11:49 < kao> and i dont want to rob you of more of them than absolutely necessary .-)
11:50 < kao> i'll be back in the evening, that is in 8 hours from now
11:50 < kao> we can discuss this then
11:51 < tetron> well I'm going to bed, will be up 8 or 9 hours from now, and maybe I'll be on IRC from work11:51 < tetron> we'll see
11:51 < tetron> good night
11:51 < kao> sleep well
11:51 * tetron waves
11:51 < antont> good sleep
11:51 tetron collapses into a heap
11:51 kao thinks tetron should beware the GC then
11:52 < tetron> GC?
11:52 < tetron> ah
11:52 * tetron gets it
11:52 < kao> garbage collector :-)
11:53 < antont> that makes a scary nightmare
11:53 < antont> might be a fun music video too!
11:53 * kao likes to hand out nightmares... muhahaha
11:54 < antont> .. the main character being an object, that some evil whatever removes the last reference to, and the poor object has to run and avoid gc and try to get another reference to it
11:54 < kao> "reference me! oh please, someone reference me!"
11:55 < kao> isnt that a bit too surreal for your average non-geek?
11:56 < antont> if you visualize it somehow that works for non-geeks, it might be enjoyable even if you
wouldn't get the underlying idea..? though my ideas often are more for geeks, and i don't
mind
11:56 < kao> hm... the bject could snap for "dangling pointers" :-)
11:56 < antont> heh, yes :)
11:58 < kao> hm... a fish on the hook, which is happy despite the hook, cause the bigger fish know what a
hook is, and wont eat it... and then, desperately trying to catch another hook, with a big
fish in pursuit. trying to get back to that comfortable but false sense of safety
11:58 < kao> wow, this is getting deep
11:59 < antont> i put this as note to http://studio.kyperjokki.fi/FirstAndLast/GarbageCollection - do you
mind? it's not linked from anywhere yet, might parent to CandidateWorlds where are misc.
ideas in public
11:59 < siana> Title: FirstAndLast GarbageCollection (at studio.kyperjokki.fi)
12:00 < kao> no, have fun :-)
12:00 < antont> ok, am parenting..
12:00 < kao> if you make this a video clip, send me a copy :-)
12:00 < antont> definitely :)
12:00 < antont> but don't expect it too soon .. let's say, a year or two perhaps :o
12:00 < kao> np, it'd be a nice surprise then
12:01 < kao> i like the idea of the fish on the hook though
12:01 < kao> wish i'd be more of a poet to make something of it.
12:01 < antont> and i guess, if i'm to do it, it more probably becomes a simple (py)game .. which might be
fun, some action
12:01 < kao> hahaha, yes.