Skip to content

Conversation

@hoytech
Copy link
Contributor

@hoytech hoytech commented Oct 13, 2012

This was useful for creating the following slides in my presentation:

http://hoytech.github.com/sorting-networks/#slide29
http://hoytech.github.com/sorting-networks/#slide30

@jgamble
Copy link
Owner

jgamble commented Oct 25, 2012

I'm going to take the suggestion but alter the form. There will be a new function that I'm tentatively calling nw_sort_stats(), which will return the swap count that you want, but also any other pieces of information that may be thought of later (suggestions welcome).

This leaves the return value of nw_sort() unchanged.

@jgamble jgamble closed this Oct 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants