count matches w/ string manipulation: ~75% gain, 85-90% gain from V1
This commit is contained in:
8
OUTPUT
8
OUTPUT
@@ -443,3 +443,11 @@ ex1.bash : res=285
|
||||
ex2.bash : res=412
|
||||
time: 0:03.37 real, 3.34 user, 0.03 sys
|
||||
context-switch: 19+1, page-faults: 0+11909
|
||||
|
||||
=========================================
|
||||
================= day20 =================
|
||||
=========================================
|
||||
|
||||
ex1.bash : res=5966506063747
|
||||
time: 0:00.54 real, 0.53 user, 0.00 sys
|
||||
context-switch: 1+1, page-faults: 0+223
|
||||
|
Reference in New Issue
Block a user