W3C home > Mailing lists > Public > public-html@w3.org > September 2013

Re: TextTrackCue discussions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 19 Sep 2013 23:35:03 -0400
Message-ID: <523BC267.2060800@mit.edu>
To: public-html@w3.org
On 9/19/13 11:21 PM, Silvia Pfeiffer wrote:
> Should we keep .text as well, because converting from ArrayBuffer to
> String can be inefficient, see
> http://updates.html5rocks.com/2012/06/How-to-convert-ArrayBuffer-to-and-from-String
> ?

Can we quantify "inefficient"?

The link you have there shows that the direct array manipulation 
approach on the system that was tested can convert a 1015-char string to 
an ArrayBuffer and back about 30k times per second in a modern browser. 
  Are we expecting people to be pushing ~30MB of cue data per second 
through conversions to strings?

Received on Friday, 20 September 2013 03:35:31 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:05 UTC