Releases: doganoo/PHPAlgorithms
Releases · doganoo/PHPAlgorithms
Performance Improvement
Add caching for HashTable keys
Performance Improvement
Small performance improvement for HashTable's.
There is no additional "containsKey" check which costs another O(n) performance.
Major Version with Breaking Changes
- namespace change: from plural to singular
- strict_types=1 for each class
- removed deprecated classes (such as HashMap, Comparable, etc.)
- using spl_object_hash for object keys in HashTable
check out the wiki for further information
bugfix
LinkedList remove method
- remove method fix
- new tests
- strict types
minor fixes
- test namespaces
- LRU Cache NPE