Re: Types
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Sep 10, 1998
- 665 views
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