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
<?xml version="1.0" encoding="UTF-8"?> | |
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | |
<meta> | |
<author>Seon-Wook Park</author> | |
</meta> | |
<bindings> | |
<select itemPath="feed.entry" produces="XML"> | |
<inputs> | |
<key id='url' type='xs:string' paramType='variable' required='true' /> |
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
<?php | |
namespace ynd\thsx\core; | |
class Router { | |
protected $prefix; | |
protected $routes; | |
// Used in specificity calculations. | |
const MAX_PATH_SEGMENTS = 10; | |
public function __construct($routes, $prefix = NULL) { |
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
no |
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' | |
require 'rubygems' | |
require 'json' | |
require 'yaml' | |
include Benchmark | |
benchmark_iterations = 1 | |
large_single_dimension_array = [42, 123.123, :foobar] * 5000 | |
large_single_dimension_hash = {} | |
10000.times do |i| |