Questions tagged [performance]

For questions pertaining to the measurement or improvement of code and application efficiency.

Filter by
Sorted by
Tagged with
1vote
1answer
172views
+100

Huge performance issues with relatively small custom layout (spinner)

I already posted a question on this topic and got ideas how to improve but sadly the performance still ist pretty bad. Problem I have the following layout which I use as a custom spinner. Also I timed ...
  • 462
9votes
5answers
392views
+100

How could I speed up my written python code: spheres contact detection (collision) using spatial searching

I am working on a spatial search case for spheres in which I want to find connected spheres. For this aim, I searched around each sphere for spheres that centers are in a (maximum sphere diameter) ...
  • 487
1vote
2answers
81views
+50

Java Open BufferedWriter only once but rewrite content many times

I am running a long running operation, Say 100k jobs. i want to update the progress of it in a file once every 100 such jobs are completed. i am opening the file using bufferedWriter with append mode ...
  • 409
1vote
1answer
146views
+50

How to efficiently process a list that continously being appended with new item in Python

Objective: To visualize the population size of a particular organism over finite time. Assumptions: The organism has a life span of age_limit days Only Females of age day_lay_egg days can lay the egg,...
  • 2,432