nickysn
|
8b17af1f89
+ added test for unit sortalgs, that tests the heapsort and randomized quicksort algorithms
|
6 năm trước cách đây |
Mattias Gaertner
|
46462a01ed
pastojs: property getter/setter in helper
|
6 năm trước cách đây |
pierre
|
4d8dcfc42e
Fix compilation on targets without Random: add $ifdef FPC_HAS_FEATURE_RANDOM
|
6 năm trước cách đây |
Mattias Gaertner
|
fce57c5528
pastojs: helper inherited
|
6 năm trước cách đây |
Jonas Maebe
|
3b87b10904
* explicitly link libobjc to prevent the symbol __objc_empty_cache from
|
6 năm trước cách đây |
nickysn
|
1c64f4c751
* some formatting changes to avoid very large lines in the source code
|
6 năm trước cách đây |
nickysn
|
00a67caa40
* select the middle element in the default quicksort implementation in a way
|
6 năm trước cách đây |
pierre
|
e467d2387d
Add sortbase unit to global units list, as it can be compiled for all CPUs
|
6 năm trước cách đây |
Mattias Gaertner
|
3e7c53a3bb
pastojs: class helper: constructor
|
6 năm trước cách đây |
Mattias Gaertner
|
c657042f0f
fcl-passrc: adv record: allow static only for class procedure/function
|
6 năm trước cách đây |
nickysn
|
52b4fc039c
+ added randomized quicksort to unit sortalgs
|
6 năm trước cách đây |
nickysn
|
f4718831ca
* fixed quicksort comment about memory use - our implementation uses O(log n) stack, not O(n log n)
|
6 năm trước cách đây |
Mattias Gaertner
|
4d8ae767f7
pastojs: proc ref of helper method
|
6 năm trước cách đây |
Mattias Gaertner
|
75bf1e4291
fcl-passrc: resolver: added GetSelfScope
|
6 năm trước cách đây |
nickysn
|
c728a1204a
+ added additional notes in the comments for HeapSort
|
6 năm trước cách đây |
nickysn
|
f32748a8e7
+ added comment with information about QuickSort and its specific implementation in unit SortBase
|
6 năm trước cách đây |
nickysn
|
eca60a0a89
* partition elements equal to the pivot on both sides of the pivot, since that
|
6 năm trước cách đây |
nickysn
|
bea9961d2d
* use SizeUInt instead of longint for the array indices in the quicksort
|
6 năm trước cách đây |
nickysn
|
f5f25f7ae6
* use a more robust QuickSort implementation, that is guaranteed to never loop
|
6 năm trước cách đây |
nickysn
|
de80621e1e
* use a try..finally block to protect against memory leaks if the comparison
|
6 năm trước cách đây |
joost
|
e5492d8992
* Fixed version-number without build-number, bug #29055
|
6 năm trước cách đây |
Mattias Gaertner
|
9a878f99db
fcl-passrc: fixed parsing (expr).name()
|
6 năm trước cách đây |
Mattias Gaertner
|
bf1af93938
pastojs: typecast string(unicodestring), unicodestring(string)
|
6 năm trước cách đây |
Mattias Gaertner
|
cfe65c8cd8
fcl-passrc: resolver: typecast string(unicodestring), unicodestring(string)
|
6 năm trước cách đây |
nickysn
|
26486bbaea
+ keep track of the pivot index in all quicksort implementations. No functional changes,
|
6 năm trước cách đây |
Mattias Gaertner
|
b47c58dddc
fcl-passrc: fixed case of widechar
|
6 năm trước cách đây |
pierre
|
15fc7b3510
Programs can also have import libraries
|
6 năm trước cách đây |
nickysn
|
ec45f0069a
+ added unit SortAlgs to rtl-extra. It implements extra sorting algorithms
|
6 năm trước cách đây |
Mattias Gaertner
|
57ece7b0f5
fcl-passrc: fixed set literal of widechar, issue #35001
|
6 năm trước cách đây |
Jonas Maebe
|
13ce27cc1d
* fixed the default external assembler for llvm when using -s
|
6 năm trước cách đây |