Uploaded image for project: 'core.logic'
  1. LOGIC-177

binding to a deep nested vector takes too much time

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
    • Environment:

      Ubuntu Linux 12.04 Java: OpenJDK 64-Bit Server VM 1.8.0_45-internal-b14 Clojure: 1.7.0 core.logic "0.8.10"

      Description

      It's probably related to how core.logic is printing out the vector structure

      Following is minimal case to reproduce the issue

      (ns testclj.logic
      (:require [clojure.core.logic :as l]))

      (def data [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[:a]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])

      (time (l/run* [q] (l/== q data)))

        Attachments

          Activity

            People

            • Assignee:
              dnolen David Nolen
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: