Re: sorta kinda Re: Types but different...
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Sep 11, 1998
- 552 views
Hawke just wrote: >jiri babor wrote: >>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. >ummm you just answered your own question :) No, I did not. I am still puzzled by the "sometimes *much* faster" bit. According to Robert, if I remember correctly, you can expect about 5% penalty, in round figures, for type checking. But in fact in many cases I clocked much larger increases. I suspect the actual penalty per item is much higher, and 5% is just some sort of average for a typical program. jiri