Comment #8 on issue 2741 by [email protected]: max_opt_count is implemented using the wrong kind of limit
http://code.google.com/p/v8/issues/detail?id=2741

I still don't understand what you're talking about; and there seem to be a lot of things you don't understand about V8.

- "how its full codegen passes hot code to the optimizer" -- the full codegen doesn't pass anything.
- "mark it as a loop" -- mark *what* as a loop? On which condition?
- "how much CFG information you use" -- there is no CFG before optimization, as building the CFG is part of optimizing a function. - "decrease that max-opt-count variable to 0 or 1" -- what problem would that solve?
- "on a per-loop node header basis" -- wat?
- "disabling those specific nodes from being passed to the optimizer" -- optimization happens on a per-function bases, not per-AST-node. - "only ever called once per iteration" -- of course, unless you have nested loops, everything in the loop is called once per iteration.
- "neither being invariant and hoistable" -- so what?
- "parsing different data each iteration" -- again, so what? That's perfectly normal. All useful, non-trivial loops perform different computations in each iteration. What does that have to do with optimizing them? - "parts could be optimized" -- nope, either the entire function is optimized or nothing. - "some sort of loop length/depth optimizations" -- what optimizations would that be?
- "this is a key optimization" -- *what* is a key optimization?

Please, before suggesting how to change V8's compiler pipeline, get a proper understanding of how it currently works, and then clearly state your ideas for changes. Otherwise any discussion is a waste of time, which is why I'll withdraw from this discussion now.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to