Gistflow

  • login

benchmark

Nothing to display jet.

History
Show

Сheck if the letter is a vowel in Ruby by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

I am quite sure that this task is actual not only among programming competitions so lets compare different approaches to check if the letter is vowel in #ruby. Benchmarks and solutions under the cut

September 10, 2012
Tweet
4

Pluck vs select again by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

Continuing previous post about fetching data from db lets consider situation where we have a lot of duplications in one column and we need just unique values (for example weather forecasts for many days for different cities and we need to list unique city_ids). Benchmark under the cut

September 3, 2012
Tweet
2

Fetching data from db column in Rails by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

There are some situations when you need to fetch some data from your db column.There are couple of ways to do it and in this post I will compare them. More under the cut

July 5, 2012
Tweet
3

Threads in Ruby #1 Pilot Post by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

Integration of YARV in #ruby allows using kernel #threads instead of #green_threads. So lets write simple script that uses #threads and #benchmark it. Examples under the cut

June 13, 2012
Tweet
5

Using Textmate bundles by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

Everyday I parse something, everyday I test the time of running parsing code which sometimes can take a lot of time. Since the base of the code is always the same (I use #benchmark for testing and #mechanize for parsing) I don't need to write it every time - I created #textmate bundles. Code is under the cut

May 28, 2012
Tweet
3

About

Join gistflow developers community

  • Start your developer blog in a minute.
  • Share code-related posts.
  • Follow users, subscribe for tags.
  • Use gist.github.com gists to write posts.

Sign up through GitHub

Tell friends about us

Tags

  • #ruby
  • #rails
  • #gistflow
  • #javascript
  • #activerecord
  • #gem
  • #git
  • #bash
  • #mac
  • #shell
  • #html
  • #rspec
  • #coffeescript
  • #github
  • #capistrano
  • Posts leaderboard
  • Tags cloud
  • Create issue
  • Email us
<g>

© 2013 Gistflow with Evrone