Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (982 - 984 of 1030)

Ticket Resolution Summary Owner Reporter
#1338 fixed Last could be faster Andrew Shalit
Description

cl:last could be faster by implementing some special cases and open coding the general case.

I looked at the sbcl source for LAST, and we may have both guessed at least
partly right.

As i understand the code, they special-case both the case where N=0 and the
one where N=1, and  a  simpler iterative loop in each of those cases, and
a more generaj iterative loop for other values of N.

In addition. a compiler-macro is defined on LAST, which may expand
into one of the simpler loops if N is constant and does not call out-of-line
code in any event .
#1340 fixed apparent bug in UPGRADED-ARRAY-ELEMENT-TYPE Gary Byers
Description

in the current trunk CCL (and likely earlier) pm x8664

? (upgraded-array-element-type '(signed-byte 60))
FIXNUM

ok. but

? (upgraded-array-element-type '(unsigned-byte 59))
(UNSIGNED-BYTE 64)

does not seem to be ok

I think that the problem is likely in the order in which CASE clauses are tested by CCL::CTYPE-SUBTYPE

#1343 notabug incorrect results from read-line based on line ending format Josh Kordani
Description

example code attached.

On windows Output of the read-line call is different depending on the line endings in the file, and currently only reading files with unix style line endings begets the appropriate behavior.

A file rvs-prune.txt consisting of -d 30 -r m:\dump\ because nothing can ever be easy

with windows line endings read by the attached function produces "-d 30 -r m:
dump

with mac "ecause nothing can ever be easy

with unix (expected output) "-d 30 -r m:
dump
"

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.