https://github.com/jesusthehun/hps
High Peformance String (functions)
https://github.com/jesusthehun/hps
Last synced: 9 months ago
JSON representation
High Peformance String (functions)
- Host: GitHub
- URL: https://github.com/jesusthehun/hps
- Owner: JesusTheHun
- Created: 2015-09-17T10:24:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-17T10:45:57.000Z (almost 11 years ago)
- Last Synced: 2025-03-11T15:17:48.501Z (over 1 year ago)
- Language: C
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hps
High Peformance String (functions)
HPS is a php extension designed to be used with large scale data set.
Most of the functions implemented are regular string functions, such as strpos, applied to array.
Nothing you couldn't do in raw php, it just hundred times faster, which is totally unsignificant in daily cases,
but means hours when you work with a lot of data.
This extension does not intend to rewrite string functions algorithms but mostly provide faster internal looping over array using php internal functions.
This is under developement. Use at your own risk.
Functions I'm working on :
- array_pos_grep(string haystack, array needle) : Return needles that can be find into the haystack. Uses strpos.
- array_pos(string haystack, array needle) : Return the array key of the first needle found into the haystack, false if none found.