On Tuesday, May 29, 2012 6:35:25 AM UTC-7, Brandon Benvie wrote:
>
> You mean like structs and arrays? I made this which doesn't depend on 
> proxies  https://github.com/Benvie/reified. 
>

yes like C structs. Indeed reified seems to address this needs nicely, 
thanks!

-- m1k3
 

>
> On Friday, May 25, 2012 8:35:36 PM UTC-4, m1k3l wrote:
>>
>> Nice Brandon.
>>
>> One thing I started thinking about but didn't find a good framework yet 
>> is to define structures in Typed Arrays. DataView can be used for that but 
>> this is really awkward. Looks like your advanced buffers may be extended 
>> for that?
>>
>> On Monday, April 16, 2012 1:12:12 PM UTC-7, Brandon Benvie wrote:
>>>
>>> I'm curious on the performance on DataViews which I read weren't as 
>>> optimized as the array buffers themselves. I created this lib  
>>> https://github.com/Benvie/view-buffer which uses DataView to actually 
>>> execute reading and writing. I've found providing indexed member access is 
>>> a place where Proxies shine in that they a.) don't seem to suffer much or 
>>> any performance penalty compared to native implementation, and b.) full JS 
>>> implementation so easier to reason about. 
>>>>
>>>>

Reply via email to