Category:Wren-sort: Difference between revisions
Content added Content deleted
m (Tidied links.) |
(Mentioned new SortedList class in blurb.) |
||
Line 1: | Line 1: | ||
{{library}} |
{{library}} |
||
'''Wren-sort''' is a module which adds sorting and binary search capabilities to the Wren programming language. It consists of static methods organized into 3 classes: Cmp, Sort and Find. |
'''Wren-sort''' is a module which adds sorting and binary search capabilities to the Wren programming language. It consists of static methods organized into 3 classes: Cmp, Sort and Find. In addition, there is a SortedList class which represents a list which is always sorted with respect to some comparison function and can therefore use binary search for look-ups. |
||
It is the third in a series of modules (listed on the language's [https://rosettacode.org/wiki/Category:Wren main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. |
It is the third in a series of modules (listed on the language's [https://rosettacode.org/wiki/Category:Wren main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. |