Tag Info

Hot answers tagged

7

They replaced TranslatorX64’s tracelets with the new HipHop Intermediate Representation (hhir), and a new indirection layer in which resides the logic to generate hhir, which is actually referred to by the same name, hhir. From a high level, it is using 6 instructions to do the what required 9 instructions before, as noted here: "It begins with the same ...


5

If you need to ask the question, you don't need to know the answer. If you had a profiler, profiled your code, and found this to be a hotspot, you could trivially find out the answer yourself by simply changing the code and profiling again. Since you haven't done that, we can readily deduce that in fact, you have no such hotspot and no such profiler, and ...


1

In short: they try to minimize random memory access and jumps between pieces of code in memory to play nicely with CPU cache. According to HHVM Performance Status they optimized most frequently used data types, which are strings and arrays, to minimize random memory access. The idea is to keep data pieces used together (like items in an array) as close to ...



Only top voted, non community-wiki answers of a minimum length are eligible