@KathleenDollard@verbedr This is possible. Just set your preference to use file-scoped-namespaces, and then perform a fix-all on any existing block-namespace to bulk convert them.
@GlennCoder @James_M_South Yup. There was no disrespect, just real discussion about the issues here. Oddly, James blocked me. This indicates to me that he's just not open to disagreement and discussion on a topic. And he takes it personally if people see things differently :-/
@James_M_South@jnm236 I and other mods have looked at the responses and nothing seems amiss here at all. People pointed out the potential problems here (including complexity).People pointing out challenges like this is a relevant part of the discussion for every language change.
@James_M_South James, people responded to you in a completely acceptable fashion. The points raised were relevant and appropriate to the discussion. We ask that people follow the .net code of conduct in our repo. That means accepting and engaging with different points if view. Thank you!
@terrajobst If anyone wants to play around. Here are the two files:
https://t.co/pUpBPVzYyi and
https://t.co/ob0wl7xaiG
MSDelta produces a 60k patch for this. Looking for some lib that can do something reasonably close to that (maybe within 200%).
@terrajobst Important characteristics:
tiny patches
can produce a 'patch' from two files. no need for any sort of 'basis' file.
can work entirely in memory (i.e. no need to read/write files)
@ianmercer@terrajobst@OctopusDeploy Results not great:
Octodelta (even compressed) is 8 times larger than msdelta here :( Any way to tweak how this works?
@ianmercer@terrajobst@OctopusDeploy This looks quite promising. I will def try it out. A core test will be how good the patch size is vs what you can get with MSDelta. Thanks very much!
@kzu@VisualStudio You can thank @jnm236 for this. An awesome community contributor who has helped Roslyn a lot. We're always happy to add stuff like this. So if you're interested, open a PR and you can make the experience better yourself!
@JeroenFrijters Roslyn's design is definitely non-deterministic. We are constantly doing work in the BG as things like projects load, or different features 'pull' on the various internal compilations. Note: discussions on better suited to gitter/discord. Thanks!
@JeroenFrijters also, i barely understand twitter. so if we can take this to github, or https://t.co/5WEKQ9Yaqg or https://t.co/PTleE1VFgt (#roslyn channel), that would be great. Thanks!
@JeroenFrijters Hey @JeroenFrijters can you file an issue over at https://t.co/TInRuBKpax (or link me to one you created there if i've missed it). It would be great to have a small repro for this. This is my code, so i can fix things up once i have a real way to validate the crash/fix. Thanks
@runfaster2000 It would be great if this could be revised and .net could get a sorting algorithm on par with the other major platforms out there. Thanks!
@runfaster2000 Hey @runfaster2000, i tried once to get .net to move to TimSort since it would speed up some sorting cases in roslyn by >10x. It was rejected due to there being many cases where users have broken sorting functions and depend entirely on how Array.Sort orders the calls to them.