Skip to content

Commit

Permalink
* event arguments boxing optimization
Browse files Browse the repository at this point in the history
* pre vs post increment microoptimization
* starting on surveys
* starting on job failure prediction
  • Loading branch information
BeauchesneFieldDay committed Aug 30, 2024
1 parent 5f48447 commit ac6f9fd
Show file tree
Hide file tree
Showing 183 changed files with 10,564 additions and 7,838 deletions.
8 changes: 0 additions & 8 deletions Assets/Editor/PostProcess/Cecil.meta

This file was deleted.

14 changes: 0 additions & 14 deletions Assets/Editor/PostProcess/Cecil/.gitlab-ci.yml

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/Editor/PostProcess/Cecil/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions Assets/Editor/PostProcess/Cecil/License.md

This file was deleted.

Binary file not shown.
33 changes: 0 additions & 33 deletions Assets/Editor/PostProcess/Cecil/Mono.Cecil.Mdb.dll.meta

This file was deleted.

Binary file removed Assets/Editor/PostProcess/Cecil/Mono.Cecil.Pdb.dll
Binary file not shown.
33 changes: 0 additions & 33 deletions Assets/Editor/PostProcess/Cecil/Mono.Cecil.Pdb.dll.meta

This file was deleted.

Binary file not shown.
33 changes: 0 additions & 33 deletions Assets/Editor/PostProcess/Cecil/Mono.Cecil.Rocks.dll.meta

This file was deleted.

Binary file removed Assets/Editor/PostProcess/Cecil/Mono.Cecil.dll
Binary file not shown.
33 changes: 0 additions & 33 deletions Assets/Editor/PostProcess/Cecil/Mono.Cecil.dll.meta

This file was deleted.

4 changes: 0 additions & 4 deletions Assets/Editor/PostProcess/Cecil/README.md

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/Editor/PostProcess/Cecil/README.md.meta

This file was deleted.

16 changes: 0 additions & 16 deletions Assets/Editor/PostProcess/Cecil/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/Editor/PostProcess/CodePostProcess.cs

This file was deleted.

17 changes: 0 additions & 17 deletions Assets/Editor/PostProcess/EditorPostProcess.asmdef

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/Editor/PostProcess/EditorPostProcess.asmdef.meta

This file was deleted.

22 changes: 11 additions & 11 deletions Assets/Plugins/EasyAssetStreaming/Core/JSON.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public IEnumerable<JSON> Children
switch(m_Type)
{
case NodeType.Array:
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
yield return m_List[i];
break;
case NodeType.Object:
Expand All @@ -320,7 +320,7 @@ public IEnumerable<KeyValuePair<string, JSON>> KeyValues
switch(m_Type)
{
case NodeType.Array:
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
yield return new KeyValuePair<string, JSON>(null, m_List[i]);
break;
case NodeType.Object:
Expand Down Expand Up @@ -1220,7 +1220,7 @@ private void Stringify(StringBuilder ioBuilder)
case NodeType.Array:
{
ioBuilder.Append('[');
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
{
if (i > 0)
ioBuilder.Append(',');
Expand Down Expand Up @@ -1289,7 +1289,7 @@ private void Stringify(StringBuilder ioBuilder, int inTabs, int inIndentLevel)
case NodeType.Array:
{
ioBuilder.Append('[');
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
{
if (i > 0)
ioBuilder.Append(',');
Expand Down Expand Up @@ -1331,7 +1331,7 @@ private static void WriteEscaped(StringBuilder ioBuilder, string inText)
if (inText == null)
return;

for (int i = 0; i < inText.Length; ++i)
for (int i = 0; i < inText.Length; i++)
{
char c = inText[i];
switch (c)
Expand Down Expand Up @@ -1376,7 +1376,7 @@ private void Stringify(TextWriter ioWriter)
case NodeType.Array:
{
ioWriter.Write('[');
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
{
if (i > 0)
ioWriter.Write(',');
Expand Down Expand Up @@ -1446,7 +1446,7 @@ private void Stringify(TextWriter ioWriter, int inTabs, int inIndentLevel)
case NodeType.Array:
{
ioWriter.Write('[');
for (int i = 0; i < m_List.Count; ++i)
for (int i = 0; i < m_List.Count; i++)
{
if (i > 0)
ioWriter.Write(',');
Expand Down Expand Up @@ -1495,7 +1495,7 @@ private static void WriteEscaped(TextWriter ioWriter, string inText)
if (inText == null)
return;

for (int i = 0; i < inText.Length; ++i)
for (int i = 0; i < inText.Length; i++)
{
char c = inText[i];
switch (c)
Expand Down Expand Up @@ -1589,7 +1589,7 @@ static public void Serialize(JSON inJSON, BinaryWriter ioWriter)

case NodeType.Array:
ioWriter.Write(inJSON.m_List.Count);
for (int i = 0; i < inJSON.m_List.Count; ++i)
for (int i = 0; i < inJSON.m_List.Count; i++)
Serialize(inJSON.m_List[i], ioWriter);
break;

Expand Down Expand Up @@ -1643,7 +1643,7 @@ static public JSON Deserialize(BinaryReader inReader)
{
int count = inReader.ReadInt32();
JSON obj = CreateObject();
for (int i = 0; i < count; ++i)
for (int i = 0; i < count; i++)
{
string key = inReader.ReadString();
obj.m_Dict.Add(key, Deserialize(inReader));
Expand All @@ -1655,7 +1655,7 @@ static public JSON Deserialize(BinaryReader inReader)
{
int count = inReader.ReadInt32();
JSON arr = CreateArray(count);
for (int i = 0; i < count; ++i)
for (int i = 0; i < count; i++)
arr.m_List.Add(Deserialize(inReader));
return arr;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static private void InitializeLayerNames() {
Array.Resize(ref s_LayerContent, layers.Length);
Array.Resize(ref s_LayerIds, layers.Length);

for (int i = 0; i < layers.Length; ++i)
for (int i = 0; i < layers.Length; i++)
{
s_LayerContent[i] = new GUIContent(layers[i].name);
s_LayerIds[i] = layers[i].id;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "RuntimeObjectHandle",
"references": [],
"references": [
"BeauUtil"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
Expand Down
Loading

0 comments on commit ac6f9fd

Please sign in to comment.