Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 7, 2013
  1. @swannodette

    fix typos

    swannodette authored
  2. @swannodette

    Optimize count for arrays and strings, fix bug in nth incorrect

    swannodette authored
    handling of IIndexed on native types
Commits on Jul 4, 2013
  1. @swannodette
  2. @swannodette

    CLJS-533: call tests for :import in the test runner

    authored swannodette committed
    Also includes a fix for a broken test.
Commits on Jun 21, 2013
  1. @stuartsierra

    Release Nexus staging repository during release build

    stuartsierra authored
    This makes the process of releasing artifacts to oss.sonatype.org
    completely automatic, requiring no human intervention at all. It is
    only intended to be used on the continuous integration server at
    build.clojure.org.
  2. @stuartsierra

    New POM template & script for deployment to Sonatype

    stuartsierra authored
    Necessitated by changes to the Sonatype Nexus server at
    oss.sonatype.org.
    
    Hopefully this will make it possible to have completely automated
    releases of ClojureScript on the Hudson server at build.clojure.org.
Commits on Jun 19, 2013
  1. @cemerick @swannodette

    CLJS-524: allow *-array fns to accept any seqable

    cemerick authored swannodette committed
Commits on Jun 17, 2013
  1. @swannodette

    missing comment

    swannodette authored
  2. @swannodette
  3. @swannodette
Commits on Jun 14, 2013
  1. @swannodette
Commits on Jun 13, 2013
  1. @swannodette
  2. @swannodette

    remove `*reader-ns-name*` and `*reader-ns*` in analyzer.clj, not

    swannodette authored
    needed now that we correctly use `*cljs-ns*` in `forms-seq`.
  3. @swannodette
  4. @swannodette

    CLJS-519: namespace aliased keywords throw Clojure reader exception

    swannodette authored
    `forms-seq` was not as lazy at it should have been, we might
    accidentally look ahead past the ns form and consume a namespace
    aliased keyword before we get a chance to apply the side effects of
    the `parse 'ns` multimethod in the analyzer.
    
    We were incorrectly setting `*ns*` in `forms-seq` to
    `*ana/*reader-ns*` instead of `*ana/cljs-ns*` which is what the analyzer
    actually side effects.
Commits on Jun 12, 2013
  1. @swannodette

    fix `name` warning

    swannodette authored
Commits on Jun 10, 2013
  1. @cemerick @swannodette
  2. @swannodette
  3. @swannodette
Commits on Jun 7, 2013
  1. @stuartsierra
Commits on Jun 3, 2013
  1. @swannodette

    CLJS-515: emit positional factories in deftype

    authored swannodette committed
Commits on Jun 1, 2013
  1. @swannodette

    CLJS-513: fix handling of out-of-bounds indices in vectors

    authored swannodette committed
    Vectors (both PersistentVector and Subvec instances) will now throw
    when invoked as functions with out-of-bounds indices.
    
    Subvec now disallows access to the underlying vector outside of subvec
    bounds.
  2. @swannodette

    minor style cleanup

    swannodette authored
  3. @swannodette

    Add PersistentArrayMapSeq for efficient traversal of PAM

    swannodette authored
    keys/vals. Add KeqSeq and ValSeq for efficient traversal of map key /
    vals without incurring overhead of lazy sequences. change zipmap to
    use transients.
    
    change benchmark script to use :output-wrapper true.
    
    zipmap on V8 for a small PAM (3 KVs) is now under 2.5X of the
    JVM. Include the benchmark
Commits on May 29, 2013
  1. @swannodette

    backout JS object printing. instead simply allow people to implement

    swannodette authored
    the desired behavior themselves.
Commits on May 26, 2013
  1. @swannodette
Commits on May 21, 2013
  1. @danskarda @swannodette
Commits on May 20, 2013
  1. @swannodette
  2. @swannodette

    CLJS-499: Reassess ObjMap vs. PersistentArrayMap

    swannodette authored
    Deprecate ObjMap.
    
    ObjMap was introduced as optimization to leverage the performance
    benefits around JS Objects for access. However in order to avoid
    issues around possible prototype modification of Object as well as the
    performance hit of hasOwnProperty, ObjMap relied on an internal array
    for determining the presence of a key - every lookup call involves a
    scan, just like PersistentArrayMap.
    
    Because of the extra array, modifying an ObjMap required considerably
    more work.
    
    PersistentArrayMap has been tuned following the enhancements made to
    Clojure's PersistentArrayMap. PersistentArrayMap on V8 has as good as
    or faster lookup times than ObjMap, and modification times are up to
    >9X faster according to our benchmark suite. JavaScriptCore also shows
    performance benefits though they are not as dramatic. On Firefox the
    performance is degraded but in general Firefox lags considerably on
    all ClojureScript benchmarks.
    
    As it turns out most users were likely already using PersistentArrayMap by
    default as there was a compiler emission bug, only empty maps compiled
    to ObjMap.
    
    Fixed bug in TransientHashMap logic, we use
    cljs.core.PersistentHashMap/EMPTY rather than the empty map literal.
  3. @swannodette
Commits on May 19, 2013
  1. @brandonbloom @swannodette

    Analyze quoted collections

    brandonbloom authored swannodette committed
    Added :quoted? to env
    Quoted forms now preserve metadata
    Fixed bug with quoted namespaced keywords
    Elimited emit-constant cases for collections
Commits on May 12, 2013
  1. @swannodette

    variadic aset + inlining

    swannodette authored
  2. @swannodette
Commits on May 8, 2013
  1. @trptcolin @swannodette

    Add with-redefs

    trptcolin authored swannodette committed
    Remove duplication by using with-redefs in binding
  2. @swannodette

    bring back toString on the core collections, include a new lower level

    swannodette authored
    `pr-str*` which doesn't bring in all the other printing machinery
Something went wrong with that request. Please try again.