From 55bdb1c4d5936580c8dcc079562e4aeaaa9394e7 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 26 Feb 2015 16:15:24 +0200 Subject: [PATCH] - Fixed typos. - Made the PHP script executable. --- README.rst | 4 ++-- prime.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 prime.php diff --git a/README.rst b/README.rst index 4259347..bcbefb6 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ The prime benchmark =================== -Bencmarking programming languages by running program to find the first X prime +Benchmarking programming languages by running program to find the first X prime numbers. The algorithm is naive and should be implemented the same regardless of the language. @@ -31,7 +31,7 @@ Test: :: History ------- -When starting to learn Lua, I wrote a simple program to excersize the table data +When starting to learn Lua, I wrote a simple program to exercise the table data structure. But I had difficulties expressing what I wanted so I first wrote the program in Python. After I had the program written in both languages I did the obvious thing, I timed them. From there on Barak implemented the program in PHP diff --git a/prime.php b/prime.php old mode 100644 new mode 100755 index bc11bc1..34edd53 --- a/prime.php +++ b/prime.php @@ -1,3 +1,4 @@ +#!/usr/bin/env php <?php -- GitLab