Re: TextTrackCue discussions

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?

-Boris

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