Newsgroups: perl.perl6.language
From: austin_hasti...@yahoo.com (Austin Hastings)
Date: Thu, 7 Nov 2002 06:36:31 -0800 (PST)
Local: Thurs, Nov 7 2002 9:36 am
Subject: Re: Primitive Vs Object types
--- Michael Lazzaro <mlazz...@cognitivity.com> wrote: > Primitive types were originally intended for runtime speed, thus an This just ain't so. > "int" or a "bit" is as small as possible, and not a lot of weird > runtime > checking has to take place that would slow it down. It can't even be > undef, because that would take an extra bit, minimum, to store. I once worked on a CPU simulator, and in order to set watch values on That key was chosen empirically, based on histogramming the ROM images The same can be done here, if the internals folks can make the For 'bit', the key value is (eenie, meenie, ...) '1'. C + Num_undef_bits * sizeof(addr_t) Which will be greater than one extra bit when few or no bit objects are In short: It's possible, even easy, to implement ANY feature (properties, undef, So what's the difference REALLY? =Austin __________________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||