Click here to Skip to main content
13,598,868 members
Click here to Skip to main content

Stats

163.5K views
3K downloads
69 bookmarked
Posted 9 Sep 2011
Licenced CPOL

Fastest strstr-like function in C!?

, 22 Aug 2016
Tuned function for searching a needle in a haystack

Revisions


  

Compare Revision Minor Date Status Editor
64 - publicly available Yes 22-Aug-16 10:58 Available Member 7524256
The article has been approved
63 No 22-Aug-16 9:17 Pending Member 7524256
Added new faster version, after a week of testing/benchmarking I think it is the last.
61 No 12-Aug-16 23:46 Pending Member 7524256
Just an add-on fixing a rare bug, also a good comparison to the latest rival - GNU GLIBC memmem().
60 No 28-Apr-14 4:34 Available Member 3873871
Updates in content.
59 No 27-Apr-14 5:11 Pending Member 7524256
Nasty bug was crushed in my latest function, all okay now
58 No 27-Apr-14 5:03 Pending Member 7524256
Nasty bug was fixed in my latest function
57 No 3-Feb-14 3:24 Available Member 3873871
Updates in content.
56 No 2-Feb-14 3:01 Pending Member 7524256
Updates in content.
55 No 2-Feb-14 2:51 Pending Member 7524256
Updates in content.
54 No 2-Feb-14 2:46 Pending Member 7524256
Nothing is changed, only new add-on - maybe the latest
53 No 29-Jan-14 3:35 Available Member 3873871
Updates in content.
52 No 29-Jan-14 2:35 Pending Member 7524256
Nothing is changed, added new function
51 No 23-Jan-14 3:24 Available Member 3873871
Updates in content.
50 No 23-Jan-14 0:22 Pending Member 7524256
Nothing is changed, new faster function added and new heuristic announced
49 No 13-Jan-14 4:10 Available Member 3873871
Updates in content.
48 No 12-Jan-14 6:27 Pending Member 7524256
Nothing is changed, only new fastest function is added.
47 No 12-Nov-13 5:59 Available Member 28970
Updates in content.
46 No 12-Nov-13 5:57 Pending Member 7524256
Updates in content.
45 No 12-Nov-13 5:52 Available Member 28970
Updates in content.
44 No 12-Nov-13 5:49 Pending Member 7524256
Fixed stupid stats errors in lines of 2013-Nov-09
42 No 9-Nov-13 6:42 Pending Member 7524256
The last for this year (I promise) add-on.
41 No 7-Nov-13 6:22 Available Member 28970
Updates in content.
40 No 7-Nov-13 5:33 Pending Member 7524256
Can't help it, another faster add-on, gods of searching are using me as a vessel.
38 No 5-Nov-13 3:41 Pending Member 7524256
I hope this is the last add-on for this year
36 No 3-Nov-13 5:00 Pending Member 7524256
Updates in content.
35 No 3-Nov-13 4:54 Pending Member 7524256
Updates in content.
34 No 3-Nov-13 4:49 Pending Member 7524256
I thought I was done with the article but unfinished ideas rushed wanting to be shared.
32 No 16-Oct-13 5:42 Pending Member 7524256
At last I finished with the latest (and last) simplification of Order 2, I intent no more changes, thanks.
31 No 11-Oct-13 5:05 Available Member 28970
Updates in content.
30 No 11-Oct-13 5:05 Available Member 28970
Updates in content.
29 No 11-Oct-13 4:52 Pending Member 7524256
Updates in content.
28 No 11-Oct-13 4:50 Pending Member 7524256
Added new faster and simplified variant of latest function.
27 No 9-Oct-13 7:36 Available Member 3873871
Updates in content.
26 No 9-Oct-13 6:49 Pending Member 7524256
Updates in content.
25 No 7-Oct-13 7:57 Available Member 28970
Updates in content.
24 No 7-Oct-13 7:46 Pending Member 7524256
Updates in content.
23 No 7-Oct-13 6:54 Available Member 28970
Updates in content.
22 No 7-Oct-13 6:46 Available Member 28970
Updates in content.
21 No 7-Oct-13 5:53 Pending Member 7524256
Added comparison with the L.V. functions.
20 No 1-Feb-12 5:08 Available Member 7524256
19 No 25-Jan-12 22:56 Available Member 7524256
18 No 25-Jan-12 21:35 Available Member 7524256
17 No 25-Jan-12 21:30 Available Member 7524256
15 No 24-Jan-12 6:46 Available Member 7524256
14 No 22-Jan-12 6:17 Available Member 7524256
13 No 20-Jan-12 5:46 Available Member 7524256
12 No 27-Nov-11 12:33 Available Member 3866010
11 No 27-Sep-11 6:57 Available Member 7524256
10 No 25-Sep-11 4:53 Available Member 7524256
9 No 15-Sep-11 6:02 Available Member 7524256
8 No 13-Sep-11 7:30 Available Member 7524256
7 No 9-Sep-11 11:11 Available Member 3873871
4 No 7-Sep-11 7:08 Composing Member 7524256
3 No 6-Sep-11 8:30 Composing Member 7524256
2 No 6-Sep-11 7:43 Composing Member 7524256
1 No 6-Sep-11 7:39 Composing Member 7524256

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sanmayce
Other
Bulgaria Bulgaria
A Bulgarian old boy interested in search techniques, nothing special.

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web04-2016 | 2.8.180621.3 | Last Updated 22 Aug 2016
Article Copyright 2011 by Sanmayce
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid