Code Whisper
@codewhisperdev
👾 Anonymous engineer, sharing thoughts on code, tech & systems. 🚫 No face, just logic.
HTTP Headers you see more often.
.NET 9 introduces the new LINQ method CountBy. It allows for calculating the frequency of a key. This improvement looks nice. What do you think?
LINQ Tip: Use ToList() after filtering, not before. Why? 🔹 First version loads everything into memory before filtering 🔹 Second version filters at source, better for DB or large collections 🔹 Especially important when using EF Core or APIs with IQueryable #charp #dotnet
🔹 What is Queue<T>? Queue<T> is a First-In-First-Out (FIFO) collection in C#. It means the first item you add is the first one to be removed. When to use? - Task scheduling - Print jobs - Message handling - Breadth-first search (BFS) in graphs Example:
SQL Tip: Always monitor and maintain your indexes. Unused or duplicate indexes = slower writes and wasted space. Why? - Clean indexes = faster inserts/updates - Less I/O, better performance 🔍 Use this to find unused indexes in SQL Server
United States الاتجاهات
- 1. Aaron Gordon 20.4K posts
- 2. Steph 46.9K posts
- 3. Jokic 21.3K posts
- 4. Wentz 24.6K posts
- 5. Vikings 51.5K posts
- 6. Warriors 73K posts
- 7. #criticalrolespoilers 9,563 posts
- 8. Halle 17K posts
- 9. #DubNation 3,988 posts
- 10. #EAT_IT_UP_SPAGHETTI 192K posts
- 11. Chargers 56.6K posts
- 12. #LOVERGIRL 15.2K posts
- 13. hobi 34.9K posts
- 14. Cam Johnson 1,547 posts
- 15. Nuggets 23.4K posts
- 16. Pacers 22.3K posts
- 17. Shai 23.6K posts
- 18. Brosmer 3,823 posts
- 19. SPAGHETTI FT J-HOPE OUT NOW 50.5K posts
- 20. Horford 3,226 posts
Something went wrong.
Something went wrong.