Updates:
Status: Invalid
Comment #1 on issue 3849 by [email protected]: Performance strategy
https://code.google.com/p/v8/issues/detail?id=3849
Questions belong on the mailing list, not the bug tracker.
Have you benchmarked the two options? That would give you a definitive
answer. Note that results from a small microbenchmark can easily be
misleading (for various reasons, and in either direction); it's best to
test performance of your complete use case.
I would expect the second version to be faster, as it contains fewer store
operations (so the difference would get bigger as m increases). I don't see
what this has to do with asm.js, or any other engine-side optimization for
that matter.
If you're working with int32 values, explicit truncation with |0 might help
avoid overflow checks. Again, just benchmark it to find out if it makes a
difference.
--
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/d/optout.