ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
6:03 Stepanov’s lecture: th-cam.com/video/COuHLky7E2Q/w-d-xo.html
21:02 His inclusive scan is eager and therefore can not be as efficient as S&R. If you want spawn you can write it in cpp today.
not explaining the syntax was a terrible decision, for example in quicksort: he uses inout to declare a variable, I would assume that applies only to args. partition takes just the vector, no predicate...
It doesn't really need to be an element based partition, so no need for a predicate. Could be something as simple as splitting the array in half
6:03 Stepanov’s lecture: th-cam.com/video/COuHLky7E2Q/w-d-xo.html
21:02 His inclusive scan is eager and therefore can not be as efficient as S&R. If you want spawn you can write it in cpp today.
not explaining the syntax was a terrible decision, for example in quicksort:
he uses inout to declare a variable, I would assume that applies only to args.
partition takes just the vector, no predicate...
It doesn't really need to be an element based partition, so no need for a predicate. Could be something as simple as splitting the array in half