User Defined Types
- Posted by irv <irv at ELLIJAY.COM> Aug 29, 2000
- 412 views
Wolf wrote: >Would anyone know how much ( real-world ) execution overhead is involved in >using 'user defined' types like the seq and int types defined in win32lib... .>.. the real question being, I guess, why aren't they used by win32lib ... .>... only problem being, of course, the type-check failure in: i> f int/seq statements Timing the same loop, in which x is assigned a random value 100000 times, using x defined as an object, an atom, and a Eu type yields the following times: object 1.08 sec atom 1.18 sec typed 1.65 sec The ratio remains pretty consistent over numerous runs. -- Regards, Irv