Re: Types

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

David Cuny wrote:

>Yes, you could replace all the type declarations in your code with
'object',
>and the code would run as "correctly" as it did with types - but not as
>fast, since Euphoria relies on the types to optimize the code it generates.

Yes and No, David. In fact it will run faster, and sometimes *much*  faster
(I do not know why), if you make everything an object, because Euphoria has
nothing to check in case of an object. Just try it, I was initially also
puzzled. But of course there is no difference when the type_check is turned
off. jiri

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

Search



Quick Links

User menu

Not signed in.

Misc Menu