Skip to content

Commit 3ae2bff

Browse files
committed
Adding for efficiency on hex2bytes
1 parent 7c3b15c commit 3ae2bff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CosStream.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ function BufferedStreams.readbytes!{T<:BufferedInputStream}(
389389
nbreturn = ndata / 2
390390

391391
i = j = 0
392+
c = n = UInt(0) # Ensuring computation at the word boundary.
392393
while i < nbreturn
393394
n = 0
394395
c = data[i+=1]

0 commit comments

Comments
 (0)