ra’s avatarra’s Twitter Archive—№ 33,975

                  1. noodling around with anonymous mutable structs in clojure. idea: hashmaps can be turned into instances of auto-generated mutable types.
                    oh my god twitter doesn’t include alt text from images in their API
                1. …in reply to @ra
                  @timsgardner already landed really good named mutable types in @arcadiaunity, but im playing around with something more a la carte
              1. …in reply to @ra
                @timsgardner @arcadiaunity the actual types are an implementation detail and shouldnt be relied on. they could/should be cached based on map names/types.
            1. …in reply to @ra
          1. …in reply to @ra
            @timsgardner @arcadiaunity updated to support type cacheing
            oh my god twitter doesn’t include alt text from images in their API
        1. …in reply to @ra
          @timsgardner @arcadiaunity not a huge win for read-only operations
          oh my god twitter doesn’t include alt text from images in their API
      1. …in reply to @ra
        @timsgardner @arcadiaunity wow, and its *slower* for read-write workloads. man, clojure's data structures are really fast.
        oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @ra
      @timsgardner @arcadiaunity ok, *theres* the win. in the presence of type information, MAGIC can make the mutables ~400x faster to update.
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @ra
    @timsgardner @arcadiaunity and ~150x faster than the stock compiler given the same type information ✌🏽
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @ra
      @timsgardner @arcadiaunity faster than transients too. transients were comparable to interop, which makes me think function invocation overhead dominates?
      oh my god twitter doesn’t include alt text from images in their API