4 ms·
What version are you using? HHVM (with JIT) is the successor to HPHPc (the version that has the C++ intermediate stage), and is faster. See http://www.facebook
by mjs 14y ago
What version are you using? HHVM (with JIT) is the successor to HPHPc (the version that has the C++ intermediate stage), and is faster. See http://www.facebook.com/note.php?note_id=10150415177928920 http://www.facebook.com/note.php?note_id=10150415177928920
- mootothemax 14y agoI was playing with HHVM, given quite how much FB emphasize not to even try with HPHPc ;-)
- thelarry 14y agoAt what sort of scale do you really need to switch from php to hip hop?
- mootothemax 14y agoAt what sort of scale do you really need to switch from php to hip hop? Honestly, I think that's a bit of a "how long is a piece of string" question. First step is to do zero scaling. As users come on board and you start hitting performance issues, work out where your problems lie - the database or filesystem rather than your code - and optimize for that. Let's not forget the classic one either: your server might just be underpowered or lacking in RAM. Once you get into significant numbers of users or usage, it'll quickly become apparent where the bottlenecks lie, and you should optimize as appropriate. So going back to your question: when PHP becomes the bottleneck.
- stonewhite 14y agoThe example code made me smile function f ($a, $k) var_dump($hit);