[Webkit-unassigned] [Bug 18994] LANG/LC_ALL influences the result of element.style.opacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 18 03:08:37 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=18994





------- Comment #21 from alp at nuanti.com  2008-09-18 03:08 PDT -------
(In reply to comment #20)
> Idioms that are fast are using StringBuffer or Vector<UChar> to create the
> string and then String::adopt to make a String out of it.

How about using TextStream.h? Although it uses snprintf() now it looks like it
has good optimisation potential, as long as code like this isn't objectionable:

ts << "text run at (" << run.m_x << "," << run.m_y << ") width " <<
run.m_width;

Right now TextStream is only used by RenderTreeAsText and a couple of places in
SVG.

If we go this way we'll need to extend TextStream to choose the decimal
precision when formatting doubles etc.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list