1
1
#:include "common.fypp"
2
- #:set IR_KINDS_TYPES = INT_KINDS_TYPES + REAL_KINDS_TYPES
3
2
#:set IRS_KINDS_TYPES = INT_KINDS_TYPES + REAL_KINDS_TYPES + STRING_KINDS_TYPES
4
3
5
4
!! Licensing:
@@ -328,11 +327,11 @@ module stdlib_sorting
328
327
329
328
public char_sort_index
330
329
331
- public string_ord_sort
330
+ public string_type_ord_sort
332
331
333
- public string_sort
332
+ public string_type_sort
334
333
335
- public string_sort_index
334
+ public string_type_sort_index
336
335
337
336
interface ord_sort
338
337
!! Version: experimental
@@ -348,7 +347,7 @@ module stdlib_sorting
348
347
!! sorted data, having O(N) performance on uniformly non-increasing or
349
348
!! non-decreasing data.
350
349
351
- #:for k1, t1 in IR_KINDS_TYPES
350
+ #:for k1, t1 in IRS_KINDS_TYPES
352
351
module subroutine ${k1}$_ord_sort( array, work )
353
352
!! Version: experimental
354
353
!!
@@ -369,15 +368,6 @@ module stdlib_sorting
369
368
character(len=len(array)), intent(inout), optional :: work(0:)
370
369
end subroutine char_ord_sort
371
370
372
- module subroutine string_ord_sort( array, work )
373
- !! Version: experimental
374
- !!
375
- !! `char_ord_sort( array )` sorts the input `ARRAY` of type `CHARACTER(*)`
376
- !! using a hybrid sort based on the `'Rust" sort` algorithm found in `slice.rs`
377
- type(string_type), intent(inout) :: array(0:)
378
- type(string_type), intent(inout), optional :: work(0:)
379
- end subroutine string_ord_sort
380
-
381
371
end interface ord_sort
382
372
383
373
interface sort
0 commit comments