-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently, ArrayUtils class has many responsibility, thus breaking it into specific usage will open more opportunities to enhance its features - also to properly benchmark edge cases of each functionality (e.g. caching validation and array merging strategies)
Responsibilities
- Validation Strategies
- hasStringKey
- hasIntegerKey
- hasNumericKeys
- isList
- isHashTable
- isCachable (proposed/new feature)
- Merging Strategies
- Integer and String Keys
- Integer and String With Preserved Numeric Keys
- Recursive Merging
- Merging with Null arrays
- Replacing/Removing Keys
- Prioritized Merging (proposed/new feature)
- Filtering Strategies
- Without key filtering
- Key specific filtering
- With and without key filtering
- Iterator to Array Conversion Strategies
- Simple Iterator
- Recursive Iterator
Benchmarking
Benchmarking the merging and caching strategies is a MUST.
One way of validating performance issue is to benchmark, especially, configuration from Zend\ServiceManager, Zend\View, Zend\Router, etc.
Metadata
Metadata
Assignees
Labels
No labels