[armedbear-ticket] [armedbear] #79: Identically named gensymed coalesced into same object in fasl file

armedbear armedbear-devel at common-lisp.net
Sat Apr 10 09:40:58 UTC 2010


#79: Identically named gensymed coalesced into same object in fasl file
--------------------------+-------------------------------------------------
  Reporter:  trittweiler  |       Owner:  somebody
      Type:  defect       |      Status:  new     
  Priority:  major        |   Milestone:          
 Component:  CLOS         |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by ehuelsmann):

 What about changing the scheme from the current "anonymous package" to the
 following:

  * The file-compiler collects all uninterned symbols during compilation
  * The symbols get associated with numbers
  * The file-compiler puts the symbols in an alist or array which is stored
 in a special variable at the beginning of the fasl
  * The compiled functions refer to the symbol by integer while loading

 This way, it's an option to create 2 different uninterned symbols by the
 same name:

 (setq *fasl-uninterned-symbols*
       #(#:foo #:foo))

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/79#comment:1>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list