[armedbear-cvs] r13705 - trunk/abcl/src/org/armedbear/lisp

ehuelsmann at common-lisp.net ehuelsmann at common-lisp.net
Tue Dec 20 21:48:23 UTC 2011


Author: ehuelsmann
Date: Tue Dec 20 13:48:22 2011
New Revision: 13705

Log:
Create two utility functions allowing more efficient symbol lookup
in the reader (see my next commit).

Modified:
   trunk/abcl/src/org/armedbear/lisp/Package.java

Modified: trunk/abcl/src/org/armedbear/lisp/Package.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Package.java	Sun Dec 18 13:08:13 2011	(r13704)
+++ trunk/abcl/src/org/armedbear/lisp/Package.java	Tue Dec 20 13:48:22 2011	(r13705)
@@ -209,11 +209,21 @@
         return internalSymbols.get(name.toString());
     }
 
+    public Symbol findInternalSymbol(String name)
+    {
+        return internalSymbols.get(name);
+    }
+
     public Symbol findExternalSymbol(SimpleString name)
     {
         return externalSymbols.get(name.toString());
     }
 
+    public Symbol findExternalSymbol(String name)
+    {
+        return externalSymbols.get(name);
+    }
+
     public Symbol findExternalSymbol(SimpleString name, int hash)
     {
         return externalSymbols.get(name.toString());




More information about the armedbear-cvs mailing list