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 7573113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:05:58+00:00 2026-05-30T16:05:58+00:00

This actually contains 2 questions. 1) You are given a project which turned out

  • 0

This actually contains 2 questions.

1) You are given a project which turned out to produce code which can’t fit to the memory restrictions of the environment. What could you do to handle this?

2) You are given a project which turned out to be performing slow than expected. How do you handle this?

The answers I could think of:

1) Using std library as much as possible because probably they are loaded anyway, Modularizing the code with functions to avoid rewriting duplicate code which might conserve the stack space.

2) Introducing inline functions wherever necessary to reduce function lookup overhead, compiler optimizations may be(if not I’m using volatile)?

Please give as many possible solutions as possible 🙂

  • 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-30T16:06:00+00:00Added an answer on May 30, 2026 at 4:06 pm

    You are given a project which turned out to produce code which can’t fit to the memory restrictions of the environment. What could you do to handle this?

    Identify how much code footprint is permitted and then apply various code refactoring methods to reduce the current footprint to fit the permitted size.

    You are given a project which turned out to be performing slow than expected. How do you handle this?

    Profile the project to find performance bottlenecks, Within the identified bottlenecks, identify the 20% of the total code that runs 90% of the exectuion time of the project and then target that code for optimization.

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

Sidebar

Related Questions

Greetings, fellow coders! I have this table that contains categories and subcategories (actually I
I have seen code like this (actually seeing another person type it up): catch
One of my classes has a field which contains a Set. This field is
I just can't seem to understand how this would work. Question: Given a sequential
With EF CTP5 Code-First I am trying to map a class model which contains
Simple question - what does this actually do? var oq = (ObjectQuery<TEntity>)L2EQuery; return ExecuteFirstorDefault<TEntity>(oq,
If I use INT(12) vs INT(10) or INT(8) what will this actually do in
I understand that 2 options are available: Non-persistent Persistent But what does this actually
referring to yesterday's post, this woke me up this morning. Why does this actually
This is actually a two part question. First,does the HttpContext.Current correspond to the current

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.