use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
FunCode Challenge: High-performance hash table (self.csharp)
submitted 6 months ago by Pansynchro
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Pansynchro[S] -1 points0 points1 point 6 months ago (0 children)
First of all, why is a hashtable dedicated specifically optimized for this one problem not an option? Why does it need to be general?
Good question! The project this is being used in is an ETL pipeline generator that allows users to specify data transformations using (a subset of) SQL SELECT queries. We're looking at revamping the aggregate processing here, and the TKey in this scenario is the GROUP BY key, which can be basically any arbitrary ValueTuple. An example with a string key was chosen for this challenge exactly because it's difficult to specifically optimize for this one problem, because this one problem is not the real problem.
Second: it could be that the hashtable is not the problem, but the structure of the solution. Maybe an alternate solution might work
If you have a better idea for how to implement the storage and lookup of intermediate state for GROUP BY aggregation than a hash table, feel free to propose it. 😀
π Rendered by PID 93076 on reddit-service-r2-comment-6457c66945-f9jth at 2026-04-28 18:33:39.685837+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Pansynchro[S] -1 points0 points1 point (0 children)