Multi-space evolutionary search with dynamic resource allocation strategy for large-scale optimization