Zhenwei Wu
Zhenwei Wu
虽然工作量稍大,可以考虑把数据从数据库提取出来转成文本格式(json)再放gitee?
Would this also allows us to reflectively invoke a method with reference of struct as argument without copying? I believe currently we cannot allocate an array of ```TypedReference```s and send...
Came from another discussion which let me think about inlining of delegates. Currently it seems (please correct me if I'm wrong) the runtime cannot inline any closure passed into Linq...
@quixoticaxis I agree that C# delegates are more powerful than C++'s `std::function`, especially when doing events, but it's not so good at doing something like performance-critical Linq. (I should say...
> In C++ a compiler is not required to inline lambdas but allowed to do so if the behaviour does not change. **And this is true for csharp as well.**...
@quixoticaxis > it seems it can be done with function pointers Actually I have thought about this already, but using `delegate*` [still gives an indirect call](https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQ64GYAEicDCOA3ujuXrgK4B2EYAZgKZ5IBsOAljcDgLJIAFN2ABtALo4wASjIVSaCktYcROAGLCeUgDRdtAI2k4AvAD4pOANQ4DAbjnKcAEyYAbJgHMwwJgCoAHhE9YP1gCwZTHAAydQdFJzwAdhwGQSQABgy9MFEM8Wl4pQBfdGKgA) (`mov eax XXXXXXXX; call...
@rashadrivera > With that said, the below code should not be allowed (as mentioned in the Design Details of this issue) > ```c# > public interface ICashier > { >...
@FANMixco I think most people commenting here would like to see this feature. I am not sure what is the reason. I hope the comment mentioned above in https://github.com/dotnet/csharplang/issues/4301#issuecomment-754755212 is...
@HaloFour Thanks for the information. I would also love to see the local classes/structs (given it's able to capture local variables) if that is the way the team is going...
> Fortunately, since value funcs would be exposed to the source only via byref-like references, and the rules for byref-likes preclude escaping their scope, value funcs can only reference captured...