Click here to Skip to main content
13,410,869 members (31,471 online)
Click here to Skip to main content

Stats

155.9K views
3K downloads
69 bookmarked
Posted 9 Sep 2011

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

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 | Terms of Use | Mobile
Web01 | 2.8.180225.1 | Last Updated 22 Aug 2016
Article Copyright 2011 by Sanmayce
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid