Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timekeeping not abstracted #2

Closed
ewth opened this issue May 15, 2020 · 1 comment
Closed

Timekeeping not abstracted #2

ewth opened this issue May 15, 2020 · 1 comment

Comments

@ewth
Copy link
Owner

ewth commented May 15, 2020

I feel like timekeeping should be abstracted out of the sorting classes. This feels like a separate responsibility; conceptually though, creating an entire overarching system to time sorting runs might be overkill. Requires some thought.

$timeStarted = microtime(true);

@ewth ewth closed this as completed May 15, 2020
@ewth
Copy link
Owner Author

ewth commented May 15, 2020

Time keeping moved into its own class for that specific purpose. It's fairly rough but it's only intended to be indicative for demonstration purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant