http://d.puremagic.com/issues/show_bug.cgi?id=4681



--- Comment #13 from nfx...@gmail.com 2010-08-26 06:20:17 PDT ---
(In reply to comment #12)
> Why are runtime calls dirty?  I don't use any undocumented runtime 
> functions...

Because they do more work than necessary and rely on more implementation
details than necessary. Also, more bugs (oh hey look, we're posting in a bug
report). I'm most worried about the assumptions of the array memory layout.

> Because the call to the runtime cannot be inlined, and is much slower than
> simply dereferencing a pointer.  Appender is supposed to be as fast as 
> possible
> at appending.

My code only calls runtime functions when the capacity is exhausted. As long as
there's enough capacity, not a single runtime function is called on appending.
It's really similar to all the code that has been in Appender before, except
less dirty.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to