Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (175 - 177 of 1030)

Ticket Resolution Summary Owner Reporter
#220 fixed Adding a type specifier to one slot makes instantiation over 3x slower Gary Byers Andrew Shalit
Description

Running on a 2.16 GHz Core 2 Duo MacBook Pro with 2 GB RAM:

Welcome to Clozure Common Lisp Version 1.1-r7809 (DarwinX8664)!
? (defclass class-with-typed-slot ()
  ((attribute-one :initarg :attribute-one
                  :type string)))

(defclass class-with-untyped-slot ()
  ((attribute-one :initarg :attribute-one)))

(defun instantiate-class-with-typed-slot (times)
  (dotimes (i times)
    (make-instance 'class-with-typed-slot :attribute-one "one")))

(defun instantiate-class-with-untyped-slot (times)
  (dotimes (i times)
    (make-instance 'class-with-untyped-slot :attribute-one "one")))

? ? ? INSTANTIATE-CLASS-WITH-UNTYPED-SLOT
? (time (instantiate-class-with-typed-slot 50000))
(INSTANTIATE-CLASS-WITH-TYPED-SLOT 50000) took 336 milliseconds (0.336 seconds) to run 
                    with 2 available CPU cores.
During that period, 307 milliseconds (0.307 seconds) were spent in user mode
                    6 milliseconds (0.006 seconds) were spent in system mode
4 milliseconds (0.004 seconds) was spent in GC.
 6,400,624 bytes of memory allocated.
NIL
? (time (instantiate-class-with-untyped-slot 50000))
(INSTANTIATE-CLASS-WITH-UNTYPED-SLOT 50000) took 97 milliseconds (0.097 seconds) to run 
                    with 2 available CPU cores.
During that period, 93 milliseconds (0.093 seconds) were spent in user mode
                    4 milliseconds (0.004 seconds) were spent in system mode
3 milliseconds (0.003 seconds) was spent in GC.
 4,800,624 bytes of memory allocated.
NIL
? 
#221 fixed defstruct accessors don't check argument type Gary Byers Ron Garret
Description

? (defstruct foo x) FOO ? (defstruct baz y) BAZ ? (foo-x (make-baz)) NIL

Should be an error.

#222 worksforme Window-switching causes errors in hemlock event-handling (event-ide branch) gz mikel
Description

In a Clozure CL.app built from the event-ide branch:

  1. Open a file of Lisp text. Select a range of text
  2. Switch to a Listener window
  3. Eval uate some form that causes a backtrace
  4. Switch back to the editor window

At this point, if the problem has manifested, clicking in the buffer fails to cause the window to update its selection correctly. Typing in the buffer *may* cause the display to return to normal, or it may display a Hemlock error dialog (the "sky is falling" dialog). Generally, some combination of inserting and deleting text seems to eventually cause the window display and event-handling to return to normal.

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