]> git.lizzy.rs Git - rust.git/commit
added gensym_copy mechanism to ensure sharing of pointers in the interner
authorJohn Clements <clements@racket-lang.org>
Wed, 26 Jun 2013 17:11:19 +0000 (10:11 -0700)
committerJohn Clements <clements@racket-lang.org>
Fri, 6 Sep 2013 20:35:10 +0000 (13:35 -0700)
commit58e7598c2e1265a0f1292ed6f93bfb29abb93504
tree926acafd1d74b6d1d359fe66840d64f0f5fa2bb3
parent9d33001a90319fc242dcf43ec3c7e1fa1c11d847
added gensym_copy mechanism to ensure sharing of pointers in the interner

this makes comparisons constant-time, and enables spelling-comparison
of identifiers, crucial in many parts of resolve.
src/libsyntax/parse/token.rs
src/libsyntax/util/interner.rs