Click here to Skip to main content
12,622,527 members (32,951 online)
Click here to Skip to main content

Stats

130K views
2.8K downloads
69 bookmarked
Posted

Fastest strstr-like function in C!?

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

Revisions


  

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

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