Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 289659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:55:37+00:00 2026-05-12T05:55:37+00:00

In the current project I am working on I have come across a piece

  • 0

In the current project I am working on I have come across a piece of code which seems to be overblown. I considered rewriting it to avoid more objects in memory than need be, and had trouble making a decision about whether the performance benefits from refactoring would be worth the time, and whether the current design will impact performance at any stage through out the application lifetime and therefore need to be changed.

I realised I did not have the knowledge to answer these questions. What knowledge do I need to make accurate assessments of the performance of a code design? Does anyone know any good resources on C#/Java internal workings that would help my understanding?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:55:37+00:00Added an answer on May 12, 2026 at 5:55 am

    There is a huge amount of information out there, particularly by researching on MSDN – but…

    The only way you’ll really know whether you need to take the time to refactor is to profile this code. If it’s bloated in terms of memory or run times, you may want to take the time to refactor it. If it runs quickly, and doesn’t actually take as much memory as you expect, the gains may not be worth the effort.

    Code design alone is never enough – most of the time, if you’re projecting a performance pattern based off a design, your projection will be wrong. Yes, there are cases where code is obviously horribly designed, but most of the time, the (small) part that will be the actual problem is not the part where you expect the problem to exist – it’s often some other small piece of code somewhere you never expect…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've come across this scenario a few times in working on a current project.
In the current package that I am working on for a project I have
On my current project, which is a delivery system, I have a list of
On the current project I'm working on, we have the following problem. Our software
For my current project I'm working with JSF, Seam and Hibernate and I have
It seems the previous developers of the current project I'm working with decided to
Introduction In a current project I'm working on we're using the ChartBoost SDK for
I am current working on a project where, as different users add text to
I'm currently working on a project where our product at the current version is
I'm working on a java project full of Hibernate (3.3.1) mapping files that have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.