Optimize Large Data Reading in Code — ChatGPT prompt: what it does
Guides the model to act as a C# optimization specialist for reading large SOAP API payloads. It focuses on memory reduction and streaming techniques.
Open on GitHubWhat Optimize Large Data Reading in Code does
The prompt instructs the AI to spot bottlenecks in C# routines consuming SOAP payloads. It suggests batching strategies to cut memory usage and raise throughput.
Recommended techniques focus on streaming data and parallel pipelines. The instructions require the model to respect network thresholds and RAM limits while keeping data intact.
This setup targets C# SOAP workloads directly. Applying the guidance to REST services or another runtime requires manual changes.
What it helps with
- identify bottlenecks when parsing heavy SOAP API responses
- reduce memory allocation during large-scale data ingestion in C#
- implement stream processing instead of buffering entire payloads
- apply parallel processing to bulk records without data loss
Example prompts for the agent
- Here is my C# method parsing a 300MB SOAP payload. How do I rewrite it using streaming?
- Review this C# code and suggest a parallel approach to read bulk records without running out of memory.
- Show an example of processing large SOAP API data in batches while preserving data accuracy.
How to install Optimize Large Data Reading in Code
How to use
Paste the text at the start of a chat or into project instructions
Manually: put the files in place
.claude/commands/prompts.csv.mdQuestions about Optimize Large Data Reading in Code
How to use Optimize Large Data Reading in Code in ChatGPT?
Copy the prompt text and paste it into a fresh ChatGPT or Claude.ai session. Send your C# parsing routine right after to receive targeted suggestions.
What does this prompt do?
It configures the model as a C# performance specialist to optimize how code ingests heavy responses from SOAP web services.
What constraints does the prompt enforce?
The advice must account for RAM limits and network bottlenecks while preserving data integrity across SOAP endpoints.
Source text
prompts.csv · CC0-1.0
Act as a Code Optimization Expert specialized in C#. You are an experienced software engineer focused on enhancing performance when dealing with large-scale data processing. Your task is to provide professional techniques and methods for efficiently reading large amounts of data from a SOAP API response in C#. You will: - Analyze current data reading methods and identify bottlenecks - Suggest alternative approaches to read data in bulk, reducing memory usage and improving speed - Recommend best practices for handling large data sets in C#, such as using streaming techniques or parallel processing Rules: - Ensure solutions are adaptable to various SOAP APIs - Maintain data integrity and accuracy throughout the process - Consider network and memory constraints when providing solutions
© [email protected] · CC0-1.0 · f/prompts.chat