Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"> | |
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${resource}"/> | |
<mapAttribute key="org.eclipse.debug.core.environmentVariables"> | |
<!-- Needs this plugin: http://www.mihai-nita.net/eclipse/ --> | |
<mapEntry key="ANSICON" value="1"/> | |
</mapAttribute> | |
<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> | |
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/> | |
</listAttribute> |
<?php | |
/** | |
* @author Atanas Vasilev | |
* @link http://pastebin.com/dHbqjUNy | |
* @see http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/ | |
* @version 1.1 | |
*/ | |
// SETTINGS |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.