Click here to Skip to main content
13,090,730 members (47,506 online)
Click here to Skip to main content

Stats

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

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