Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Associating metadata with non-objects
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephan Beal  
View profile  
 More options May 3 2011, 2:52 am
From: Stephan Beal <sgb...@googlemail.com>
Date: Tue, 3 May 2011 08:52:16 +0200
Local: Tues, May 3 2011 2:52 am
Subject: Re: [v8-users] Associating metadata with non-objects

On Tue, May 3, 2011 at 8:32 AM, Mads Sig Ager <a...@chromium.org> wrote:

> I would use internal fields for that. I would create the JS wrappers from
> templates specifying a number of internal fields and use
> Set/GetPointerInInternalField to get and set them. Internal fields are
> faster to access than hidden properties.

i think Charles is wanting to tie data to non-template-generated values like
Numbers. From what i understand, v8 does not have the API to do this. Nor
does it provide a stable unique ID per value instance which we can use to do
the mapping ourselves (it is doable in SpiderMonkey, but that's probably
SM's only advantage over v8).

--
----- stephan beal
http://wanderinghorse.net/home/stephan/


 
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.