- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noticed that Intel IPP started offering newfunctions on characters strings in version 4.0, what are the differences or benefits to use Intel IPP string functions comparing to other string implementations: the C functions in "string.h", the C++ standard template library class "string" and the MFC class "CString"?
By the way, do you provide any samples to demonstrate the Intel IPP string functions in your book?
Thanks,
ippfan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The idea underlying the string functions is similar to the idea underlying the rest of the library, whichto provide low-level optimized functions that ahigher-level library or API be able to make use of. While it is possible to use the IPP string functions directly it is probably more convenient to wrap them in a string or text processing class to hide the complexity, and even the use, of the IPP function calls.
In the book, I tried to demonstrate this intended use ofthe functions bywriting and includinga thin layer that mimicks the C, STL, and MFC. So the book lists implementations of several C stdlib functions (such as strcpy, strcmp, strchr), STL functions (such as string::find, string::find_first_of, string::compare), and MFC functions (actually, just CString::Replace, but that's a long one). Each uses the IPP string functions (ippsFind, ippsCompare, ippsRemove) to do the bulk of the work.
Stewart

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page