<commit_before>$:.unshift(File.dirname(__FILE__) + "/../lib")
require 'bench_press'

extend BenchPress

def implicit
  1
end

def explicit
  return 1
end

measure("implicit return") do
  implicit
end<commit_msg>Assign defunkt credit for an example<commit_after>$:.unshift(File.dirname(__FILE__) + "/../lib")
require 'bench_press'

extend BenchPress

author 'defunkt'
date '2009-08-15'

def implicit
  1
end

def explicit
  return 1
end

measure("implicit return") do
  implicit
end
{'fraction_non_alphanumeric': 0.11226611226611227, 'fraction_numerical': 0.02494802494802495, 'mean_word_length': 4.670588235294118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '359096', 'n_tokens_mistral': 170, 'n_tokens_neox': 164, 'n_words': 48}