Skip to content

Conversation

spacepluk
Copy link

No description provided.

nasser and others added 30 commits April 12, 2014 16:44
Unity sets System.AppDomain.CurrentDomain.BaseDirectory to null which causes
all kinds of problems.
Raises NotImplemented exceptions in Unity otherwise. Refs and MultiFns
are broken as a result.
Unity sets System.AppDomain.CurrentDomain.BaseDirectory to null which causes
all kinds of problems.
Raises NotImplemented exceptions in Unity otherwise. Refs and MultiFns
are broken as a result.
Use superclass in place of stub class for type hinting
This is a port of @ztellman's pending patch
http://dev.clojure.org/jira/browse/CLJ-1529

This patch avoids unnecessary lookups on symbols that are known to be
lexically bound, resulting in significant speedup in many cases. Details
are on the Jira page.
Namespace qualified types skip the slow string comparison code path.
This commit also documents when each lookup path can be expected to
succeed.
nasser and others added 29 commits August 5, 2015 22:04
The logic that was in the static constructor was moved to an instance
method that can be called from the Awake method. This was done to
avoid Unity's inability to guarantee the order that static constructors
will be called in. The new method is named "CarlylesMouse" on the
principled insistence of Tims Gardner who, while striking the arm
of Ramsey Nasser repeatedly, made the case that "No, it is not a
Static Constructor. It is a mouse. It belongs to Carlyle. It's
CarlylesMouse." His wisdom stands.
Lookups for unqualified, unimported types will throw an exception (as
they should). This patch removes lookup logic that was in place due to a
mono bug where types with slashes in their names could not be found. The
compiler no longer emits such types, so the slow path is no longer
needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants