summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-21 22:25:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-21 22:25:14 +0000
commit84d4ea48280f6b54fdc70fe4c8b9494e3331071e (patch)
tree67eb1ba8c72d793358608e97b8bcb9aa431b1d71 /win32
parentc85707204c5d2a93ef021c88e43a92ba2d602304 (diff)
downloadperl-84d4ea48280f6b54fdc70fe4c8b9494e3331071e.tar.gz
Implement the sort pragma. Split sort code from pp_ctl.c
to pp_sort.c. Includes the quicksort stabilizing layer from John P. Linderman. -Msort=qsort or -Msort=fast is faster than without (or with -Msort=mergesort or -Msort=safe) for short random inputs, but for some reason not quite as fast as 5.6.1 qsort. More benchmarking, profiling, tuning, and optimizing definitely needed. p4raw-id: //depot/perl@13179
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile1
-rw-r--r--win32/makefile.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile b/win32/Makefile
index c43b8c8992..7faf62091d 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -484,6 +484,7 @@ MICROCORE_SRC = \
..\pp_ctl.c \
..\pp_hot.c \
..\pp_pack.c \
+ ..\pp_sort.c \
..\pp_sys.c \
..\regcomp.c \
..\regexec.c \
diff --git a/win32/makefile.mk b/win32/makefile.mk
index fd2b5ffde3..877f52d3a8 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -640,6 +640,7 @@ MICROCORE_SRC = \
..\pp_ctl.c \
..\pp_hot.c \
..\pp_pack.c \
+ ..\pp_sort.c \
..\pp_sys.c \
..\regcomp.c \
..\regexec.c \