Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
quibtisa
New Member

Need help with bottleneck in my algorithm

As a programmer, I've encountered a problem with the data flow algorithm in my code. I have a for loop that processes a large amount of data, but it seems to slow down significantly as the loop progresses. I suspect this is due to a bottleneck in my algorithm, where a lack of resources or inefficiency in my code limits the processing time.

Here's an example of the problematic code:

for i in range(10000000):
  # process data
  data = fetch_data()
  result = process_data(data)
  save_result(result)

I need to find a way to optimize the processing time so that my algorithm can handle a large amount of data efficiently. I've tried reading this site about the dataflow but I need more support can someone help me?

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors