Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

Improve speed by using .net create instead of string parse

$
0
0
To improve the speed to work with the UDT Point it would be better to add: $0 $0    public Point(Int32 x, Int32 y)$0 $0        {$0 $0            this = default(Point);$0 $0            this._x = x;$0 $0            this._y = y;$0 $0        }$0 $0 $0into the struct$0 $0and also add:$0 $0 $0public class PointFunctions$0 $0{$0 $0    [SqlFunction(IsDeterministic = true, IsPrecise = true,$0 $0                DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None)]

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>