This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=frame> | |
<span class="helper"></span><img src="http://jsfiddle.net/img/logo.png" height=250 /> | |
</div> | |
<div class=frame> | |
<span class="helper"></span><img src="http://jsfiddle.net/img/logo.png" height=25 /> | |
</div> | |
<div class=frame> | |
<span class="helper"></span><img src="http://jsfiddle.net/img/logo.png" height=23 /> | |
</div> | |
<div class=frame> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
Document = Struct.new(:id,:a,:b,:c) | |
documents_a = [] | |
documents_h = {} | |
1.upto(10_000) do |n| | |
d = Document.new(n) | |
documents_a << d | |
documents_h[d.id] = d | |
end | |
searchlist = Array.new(1000){ rand(10_000)+1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to remove: | |
sudo mv /System/Library/CoreServices/Search.bundle /System/Library/CoreServices/Search.bundle.bak | |
killall SystemUIServer | |
and to re-enable: | |
sudo mv /System/Library/CoreServices/Search.bundle.bak /System/Library/CoreServices/Search.bundle | |
killall SystemUIServer |