mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-16 15:41:52 +02:00
Updated the manuals
This commit is contained in:
@ -9,7 +9,7 @@ such as quicksort, heapsort, or merge sort.
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./measure-InsertionSort.ps1 [[-numIntegers] <Int32>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/measure-InsertionSort.ps1 [[-numIntegers] <Int32>] [<CommonParameters>]
|
||||
|
||||
-numIntegers <Int32>
|
||||
Specifies the number of integers to sort
|
||||
@ -53,14 +53,14 @@ Script Content
|
||||
one item at a time. It is much less efficient on large lists than more advanced algorithms
|
||||
such as quicksort, heapsort, or merge sort.
|
||||
.PARAMETER numIntegers
|
||||
Specifies the number of integers to sort
|
||||
Specifies the number of integers to sort
|
||||
.EXAMPLE
|
||||
PS> ./measure-InsertionSort.ps1
|
||||
PS> ./measure-InsertionSort.ps1
|
||||
🧭 0.423 sec to sort 1000 integers by InsertionSort
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([int]$numIntegers = 1000)
|
||||
@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 08/15/2024 09:50:51)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of measure-InsertionSort.ps1 as of 11/08/2024 12:34:52)*
|
||||
|
Reference in New Issue
Block a user