<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23732</bug_id>
          
          <creation_ts>2013-11-05 18:50:44 +0000</creation_ts>
          <short_desc>Consider adding best-effort scatter/gather mode</short_desc>
          <delta_ts>2013-12-05 19:33:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Streams API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Takeshi Yoshino">tyoshino</reporter>
          <assigned_to name="Takeshi Yoshino">tyoshino</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95826</commentid>
    <comment_count>0</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-05 18:50:44 +0000</bug_when>
    <thetext>Best-effort scatter/gather mode, maybe as readType of e.g. &quot;arraybuffer/sg&quot; for &quot;arraybuffer&quot;, relaxes the requirement that &quot;readPromise is fulfilled with one object of the specified type&quot; and allows fulfilling with fragments. This would be useful for performance sensitive apps since Stream implementation can choose to keep the original until right before fulfilling readPromise, and if it&apos;s set to &quot;*/sg&quot; type, just return an Array of the fragments without doing concat/split as possible.

Best-effort means that it&apos;s not guaranteed that everything is kept as-is. Concat/split may happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95971</commentid>
    <comment_count>1</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-07 19:27:28 +0000</bug_when>
    <thetext>Seems we don&apos;t need this. Once read is split into read and readExact and make read method sync/async hybrid, we can receive fragments without post tasking cost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96025</commentid>
    <comment_count>2</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-08 08:23:25 +0000</bug_when>
    <thetext>(In reply to Takeshi Yoshino from comment #1)
&gt; Seems we don&apos;t need this. Once read is split into read and readExact and
&gt; make read method sync/async hybrid,

This is discussed at this bug.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23772</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96240</commentid>
    <comment_count>3</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-11-13 19:32:05 +0000</bug_when>
    <thetext>Done in preview ver.
https://dvcs.w3.org/hg/streams-api/raw-file/tip/preview.html

Implementations can choose to delay serialization, split and concatenation as much as possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97208</commentid>
    <comment_count>4</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2013-12-05 19:33:32 +0000</bug_when>
    <thetext>Preview ver merged into ED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>