User Defined Types

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu