From 1c7ed6841af4940514bafe7f942c9fdb33ce62cd Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Fri, 13 Aug 2010 20:35:10 -0700 Subject: [PATCH] Added -O3 --- Makefile | 2 +- Readme.md | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 262a1ad..f0728c7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC = gcc -CFLAGS = -std=c99 -Wall +CFLAGS = -O3 -std=c99 -Wall SRCS = src/list.c \ src/node.c \ diff --git a/Readme.md b/Readme.md index cc1fc4e..b4a2f89 100644 --- a/Readme.md +++ b/Readme.md @@ -40,12 +40,13 @@ List iteration: $ make benchmark - 10,000,000 nodes + 10,000,000 nodes - pushed: 0.8945s - unshifted: 0.9677s - find (last node): 0.1090s - iterate: 0.1029s + pushed: 0.5949s + unshifted: 0.5977s + find (last node): 0.0545s + iterate: 0.0558s + ## Testing $ make test