Skip to content

Commit 5844371

Browse files
Make ENCODE faster with more optimized type declarations
1 parent cf1d216 commit 5844371

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qbase64.lisp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@
5858
(end1 (length bytes))
5959
(start2 0)
6060
(end2 (length string)))
61-
(((bytes (simple-array (unsigned-byte 8))) (string simple-string))
61+
(((bytes (simple-array (unsigned-byte 8))) (string simple-base-string))
62+
((bytes (simple-array (unsigned-byte 8))) (string simple-string))
6263
((bytes (simple-array (unsigned-byte 8))) (string string))
63-
((bytes (array (unsigned-byte 8))) (string string))
64-
((bytes (array (unsigned-byte 8))) (string simple-string))
64+
((bytes array) (string simple-base-string))
65+
((bytes array) (string simple-string))
6566
((bytes array) (string string)))
6667
(declare (type scheme scheme))
6768
(declare (type positive-fixnum start1 end1 start2 end2))

0 commit comments

Comments
 (0)