This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restoring packages for C:\Users\phelan\workspace\weincad.net\WeinCad.Plugins\WeinCad.Plugin.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Math.Spec\Numerics.Spec.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\ReactiveUI.Ext.Spec\ReactiveUI.Ext.Spec.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Utils.Spec\Utils.Spec.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Weingartner.WeinCad3d\Weingartner.WeinCad3d.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Weingartner.DotLiquidExtensions\Weingartner.DotLiquidExtensions.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\WeinCad.Controls\WeinCad.Controls.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Utils\Utils.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Weingartner.Controls\Weingartner.Controls.csproj... | |
Restoring packages for C:\Users\phelan\workspace\weincad.net\Math\Numeri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using devDept.Eyeshot.Entities; | |
using devDept.Geometry; | |
using ReactiveUI; | |
using System; | |
using System.Drawing; | |
using System.Reactive.Linq; | |
using System.Runtime.CompilerServices; | |
using Weingartner.EyeshotExtensions; | |
using Weingartner.EyeshotExtensions.Assembly3D; | |
using Weingartner.EyeshotExtensions.Selections; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void Regen(RegenParams data) | |
{ | |
if (data.ViewportLayout == null && !data.SkipTexts) | |
throw new EyeshotException(\u0002\u2005\u2005.\u0002(1827355555)); | |
if (data.Blocks == null) | |
throw new EyeshotException(\u0002\u2005\u2005.\u0002(1827354745)); | |
if (data.\u0002() && data.Parents.Count == 0) | |
{ | |
RegenParams regenParams = new RegenParams(data.Deviation, data.ViewportLayout); | |
int num = data.\u0002() ? 1 : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Weingartner.WeinCad3d.Utils | |
{ | |
public class Curry | |
{ | |
/// Split the function by returning a function that consumes the first 2 arguments and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================ | |
ControlA 200 | |
ControlB 201 | |
ControlC 85 | |
================================ | |
ControlA 199 | |
ControlB 201 | |
ControlC 84 | |
================================ | |
ControlA 199 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Reflection.Metadata; | |
using System.Runtime.CompilerServices; | |
namespace StructPerformance | |
{ | |
internal class Program | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dot(cl,cl): 87ms, res: 43400000000 | |
Dot(st, st): 85ms, res: 43400000000 | |
Dot(cl): 86ms, res: 43400000000 | |
Dot(st): 84ms, res: 43400000000 | |
Dot(st6): 215ms, res: 43400000000 | |
Dot(xyz): 85ms, res: 43400000000 | |
Dot(cl.xyz): 103ms, res: 43400000000 | |
Dot(st.xyz): 87ms, res: 43400000000 | |
____________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dot(cl,cl): 175ms, res: 43400000000 | |
Dot(st, st): 85ms, res: 43400000000 | |
Dot(cl): 249ms, res: 43400000000 | |
Dot(st): 200ms, res: 43400000000 | |
Dot(st6): 286ms, res: 43400000000 | |
Dot(xyz): 84ms, res: 43400000000 | |
Dot(cl.xyz): 100ms, res: 43400000000 | |
Dot(st.xyz): 84ms, res: 43400000000 | |
____________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IFoo | |
{ | |
int X { get; } | |
}; | |
public struct Bar : IFoo | |
{ | |
public int X => 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.DoubleNumerics; | |
using System.IO; | |
using System.Runtime.CompilerServices; | |
using System.Xml; | |
using System.Xml.Linq; | |
using devDept.Geometry; | |
using Weingartner.WeinCad3d.Utils; |