I'm trying to create a node.js module which invokes a JS callback from a
system routine (Event Tracing for Windows ProcessTrace).
I'd like to avoid the cost of fully instantiating the event objects passed
to the callback, so I've created an ObjectTemplate with Accessors for the
various underlyi
Oh, right. I get it now, thank you!
☆*PhistucK*
On Wed, Dec 17, 2014 at 9:15 PM, 'Erik Arvidsson' via blink-dev <
blink-...@chromium.org> wrote:
>
> With String.raw `\n` you get "\\n" versus with `\n` you get "\n".
>
> On Wed, Dec 17, 2014 at 2:12 PM, PhistucK wrote:
> > A bit off topic, but ho
With String.raw `\n` you get "\\n" versus with `\n` you get "\n".
On Wed, Dec 17, 2014 at 2:12 PM, PhistucK wrote:
> A bit off topic, but how is (from MDN) String.raw`bla\n${5+6}` any different
> from simply `bla\n${5+6}`?
> (MDN also shows - console.log(`Fifteen is ${a + b} and not ${2 * a + b}
A bit off topic, but how is (from MDN) String.raw`bla\n${5+6}` any
different from simply `bla\n${5+6}`?
(MDN also shows - console.log(`Fifteen is ${a + b} and not ${2 * a + b}.`);
- without any String.raw or anything, so why would one need String.raw?)
Or is the MDN example simply not so great
Tagged templates and String.raw are both implemented
On Wednesday, 17 December 2014 12:31:05 UTC-5, Joshua Bell wrote:
>
> Any caveats?
>
> Does this include the use of tags (i.e. tag`literal`;) ?
>
> Does this include String.raw()?
>
> (IMHO a subset w/o either of those is both useful and noncont
Any caveats?
Does this include the use of tags (i.e. tag`literal`;) ?
Does this include String.raw()?
(IMHO a subset w/o either of those is both useful and noncontroversial, I'm
just curious if this Intent includes all the bells and whistles)
On Wed, Dec 17, 2014 at 7:31 AM, Erik Arvidsson wr
On Wednesday, December 17, 2014 12:41:56 AM UTC-8, Dmitry Lomov wrote:
>
>
>
> On Tue, Dec 16, 2014 at 11:19 PM, Boris Zbarsky > wrote:
>>
>> On 12/16/14, 1:56 AM, Dmitry Lomov wrote:
>> ...
>> I _believe_ the idea is that this allows some subclassing of builtins and
>> that once we (TC39 + Web
[blink-dev: FYI]
Template Literals are part of ES6. The spec in the Editor's draft is stable [1].
Firefox is shipping template literals since version 34 [2].
IE has template literals in a preview release [3].
Owners: a...@chromium.org, caitpotte...@gmail.com
[1] https://people.mozilla.org/~jore
The internal heuristics are complicated, but the short story is that both
array.push(x) and array[array.length] = x should be very fast. What you're
doing seems unnecessary and potentially even bad for performance (if it
happens to defeat internal optimizations). Then again without measuring,
chanc
Heya,
I'm developing a small compiler for JavaScript and wondering if someone
could point out which is the most efficient way to handle array memory in
V8. Currently, if array needs regular push/pops I will manually extend
length and store numElements in additional variable (some what similar h
On Tue, Dec 16, 2014 at 11:19 PM, Boris Zbarsky wrote:
>
> On 12/16/14, 1:56 AM, Dmitry Lomov wrote:
>
>> Option 2: pass arguments to [[CreateAction]] hook.
>> [[CreateAction]] hook is the hook that is invoked directly before
>> construction, and has access to constructor arguments.
>>
>
> Dmitry,
11 matches
Mail list logo