Clojure

Enhancements to array seqs

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.1
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

  • Implement missing array seqs for byte[], char[] and boolean[].
  • Specialize .indexOf and .lastIndexOf (from java.util.List which array seqs implement via ASeq) to be more efficient. It would relax the need to depend on org.apache.commons.lang.ArrayUtils for such a mundane task: (-> a-byte-array #^List seq (.indexOf (byte 10)))

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/165 Attachments: 0001-Adds-missing-array-seqs-for-char-byte-and-boolean-pl.patch - https://www.assembla.com/spaces/clojure/documents/bMnH8IGnar3R9geJe5aVNr/download/bMnH8IGnar3R9geJe5aVNr 0001-Adds-missing-array-seqs-for-char-byte-and-boolean-pl.patch - https://www.assembla.com/spaces/clojure/documents/bWmQJUGnGr3R9geJe5aVNr/download/bWmQJUGnGr3R9geJe5aVNr
Hide
Assembla Importer added a comment -

cgrand said: [file:bMnH8IGnar3R9geJe5aVNr]: patch

Show
Assembla Importer added a comment - cgrand said: [file:bMnH8IGnar3R9geJe5aVNr]: patch
Hide
Assembla Importer added a comment -

cgrand said: [file:bWmQJUGnGr3R9geJe5aVNr]: better patch

Show
Assembla Importer added a comment - cgrand said: [file:bWmQJUGnGr3R9geJe5aVNr]: better patch
Hide
Assembla Importer added a comment -

cgrand said: (In [[r:51f4180eca6a09dbad52d4bcb6c48ab05fe16cad]]) Enhancements to array seqs

Adds missing array seqs for char[], byte[] and boolean[]
plus specialized .indexOf and .lastIndexOf for all array seqs, fixes #165

Signed-off-by: Chouser <chouser@n01se.net>

Branch: master

Show
Assembla Importer added a comment - cgrand said: (In [[r:51f4180eca6a09dbad52d4bcb6c48ab05fe16cad]]) Enhancements to array seqs Adds missing array seqs for char[], byte[] and boolean[] plus specialized .indexOf and .lastIndexOf for all array seqs, fixes #165 Signed-off-by: Chouser <chouser@n01se.net> Branch: master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: