On 2014/09/18 13:02:03, rmcilroy wrote:
This seems fine to me, but I would just always allocate
kMaxNumPending32/64RelocInfo if you are wanting to be cautious (for merge into
m38).  If malloc is smart enough to keep the allocation in a size-binned
free-list then this would be both faster (since it would always just re-use
the
same memory) and potentially use less memory since it wouldn't cause
fragmentation due to different size being requested.  WDYT?

KISS: Trying to outsmart some unknown new[] implementation is a bad idea, and
failed in the end in every project I've seen so far.

https://codereview.chromium.org/555943003/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to