Re: Proposal for fixing race conditions

On Thu, Jul 18, 2013 at 3:00 AM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> If we're willing to break API backwards compatibility by making
> AudioBuffers immutable for example, and avoid using Float32Arrays anywhere
> except as an argument to the AudioBuffer constructor, then we'll avoid all
> of the memcpy costs in the normal usage of the API, except when creating an
> AudioBuffer.
>

We also have the option of leaving the current APIs in place and offering
additional APIs that don't copy.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Wednesday, 17 July 2013 21:02:55 UTC