Plaster
New
List
Login
text
apl
aspx
asterisk
brainfuck
c
c++hdr
c++src
cassandra
ceylon
clojure
clojurescript
cmake
cobol
coffeescript
common-lisp
crystal
csharp
css
cypher-query
cython
d
dart
diff
django
dockerfile
dylan
ebnf
ecl
ecmascript
edn
eiffel
ejs
elm
erb
erlang
ez80
factor
fcl
feature
forth
fortran
fragment
gfm
go
gql
groovy
gss
haml
handlebars-template
haskell
haxe
hive
html
http
httpd-php
httpd-php-open
hxml
ini
java
javascript
json
jsp
jsx
julia
kotlin
latex
less
literate-haskell
lua
mariadb
markdown
mbox
mirc
mscgen
msgenny
mssql
mumps
mysql
n-triples
nesc
nginx-conf
nsis
objectivec
octave
oz
pascal
perl
pgp
pgp-keys
pgp-signature
pgsql
php
pig
plsql
properties
protobuf
puppet
python
q
rpm-changes
rpm-spec
rsrc
ruby
rustsrc
sas
sass
scala
scheme
scss
sieve
slim
smarty
solr
soy
sparql-query
spreadsheet
sql
squirrel
stex
styl
swift
systemverilog
tcl
textile
tiddlywiki
tiki
tlv
tornado
ttcn-asn
ttcn-cfg
turtle
twig
typescript
typescript-jsx
vb
vbscript
velocity
verilog
vertex
vhdl
vue
webidl
xml
xml-dtd
xquery
xu
yaml
z80
default
Visibility:
public
unlisted
private
CL-USER> (defvar *data-vector* (alexandria:shuffle (make-array (* 10 1000 1000) :initial-contents (alexandria:iota (* 10 1000 1000))))) *DATA-VECTOR* CL-USER> (defvar *data-list* (coerce *data-vector* 'list)) *DATA-LIST* CL-USER> (defvar *data-svector* (coerce *data-vector* '(vector (unsigned-byte 32)))) *DATA-SVECTOR* CL-USER> (progn (sb-ext:gc :full t) (time (sort *data-vector* #'<)) (sb-ext:gc :full t) (time (sort *data-list* #'<)) (sb-ext:gc :full t) (time (sort *data-svector* #'<)) nil) Evaluation took: 6.367 seconds of real time 6.370116 seconds of total run time (6.321404 user, 0.048712 system) 100.05% CPU 22,290,379,145 processor cycles 0 bytes consed Evaluation took: 6.247 seconds of real time 6.247222 seconds of total run time (6.199135 user, 0.048087 system) 100.00% CPU 21,862,086,649 processor cycles 64 bytes consed Evaluation took: 15.559 seconds of real time 15.535839 seconds of total run time (15.535600 user, 0.000239 system) 99.85% CPU 54,443,359,190 processor cycles 64 bytes consed