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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:03:50+00:00 2026-05-10T16:03:50+00:00

A two parter: 1) Say you’re designing a new type of application and you’re

  • 0

A two parter:

1) Say you’re designing a new type of application and you’re in the process of coming up with new algorithms to express the concepts and content — does it make sense to attempt to actively not consider optimisation techniques at that stage, even if in the back of your mind you fear it might end up as O(N!) over millions of elements?

2) If so, say to avoid limiting cool functionality which you might be able to optimise once the proof-of-concept is running — how do you stop yourself from this programmers habit of a lifetime? I’ve been trying mental exercises, paper notes, but I grew up essentially counting clock cycles in assembler and I continually find myself vetoing potential solutions for being too wasteful before fully considering the functional value.

Edit: This is about designing something which hasn’t been done before (the unknown), when you’re not even sure if it can be done in theory, never mind with unlimited computing power at hand. So answers along the line of ‘of course you have to optimise before you have a prototype because it’s an established computing principle,’ aren’t particularly useful.

  • 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. 2026-05-10T16:03:50+00:00Added an answer on May 10, 2026 at 4:03 pm

    I say all the following not because I think you don’t already know it, but to provide moral support while you suppress your inner critic 🙂

    The key is to retain sanity.

    If you find yourself writing a Theta(N!) algorithm which is expected to scale, then you’re crazy. You’ll have to throw it away, so you might as well start now finding a better algorithm that you might actually use.

    If you find yourself worrying about whether a bit of Pentium code, that executes precisely once per user keypress, will take 10 cycles or 10K cycles, then you’re crazy. The CPU is 95% idle. Give it ten thousand measly cycles. Raise an enhancement ticket if you must, but step slowly away from the assembler.

    Once thing to decide is whether the project is ‘write a research prototype and then evolve it into a real product’, or ‘write a research prototype’. With obviously an expectation that if the research succeeds, there will be another related project down the line.

    In the latter case (which from comments sounds like what you have), you can afford to write something that only works for N<=7 and even then causes brownouts from here to Cincinnati. That’s still something you weren’t sure you could do. Once you have a feel for the problem, then you’ll have a better idea what the performance issues are.

    What you’re doing, is striking a balance between wasting time now (on considerations that your research proves irrelevant) with wasting time later (because you didn’t consider something now that turns out to be important). The more risky your research is, the more you should be happy just to do something, and worry about what you’ve done later.

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

Sidebar

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Support C++0x will support threads in the standard library. As… May 11, 2026 at 2:22 pm
  • added an answer Synchronizing two databases is very, very complicated if both databases… May 11, 2026 at 2:22 pm
  • added an answer Allow the user to do other tasks (or cancel) during… May 11, 2026 at 2:22 pm

Related Questions

A two parter: 1) Say you're designing a new type of application and you're
I'm working with some code in Visual Studio. My parter-in-crime fellow developer has suggested
I am using HtmlAgilityPack. I create an HtmlDocument and LoadHtml with the following string:
The following simple calculator expression grammar (BNF) can be easily parsed with the a
I have some questions about Perl's map function. Specifically: How does %hash = map

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.