<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 8, 2016 at 2:48 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 8 November 2016 at 16:28, Rui Ueyama <<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>> wrote:<br>
> I don't know how much we could get from virtualizing writeTo (so I'm okay to<br>
> revert this for now), but if the cost of having it is sub-1% and if it will<br>
> improve readability quite a lot, I'd vote for readability over performance.<br>
> So virtualizing writeTo is still an option.<br>
<br>
<br>
</span>Any thought on the idea of having a SyntheticSection class? That can<br>
be the first one with virtual functions.<br></blockquote><div><br></div><div>It may work, but with that we'll have to write something like "if it's synthetic, use writeTo to copy it to output, otherwise memcpy its Data to output", so there's some cost on human side instead of on computer.</div></div></div></div>