Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 37487d0

Browse files
author
Nikos M
committed
update
1 parent b606125 commit 37487d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Before trying to optimize, one has to measure and identify what needs to be opti
4747

4848
That being said, one should always try to optimize and produce efficient solutions. A non-efficient "solution" can be as good as no solution at all, if not worse.
4949

50+
**Pre-optimisation is perfectly valid given pre-knowledge**. For example that instantiating a whole class or array is slower than just returning an integer with the appropriate information.
51+
5052
Some of the optimization techniques can be automated (eg in compilers), while others are better handled manually.
5153

5254
Some times there is a trade-off between space/time resources. Increasing speed might result in increasing space/memory requirements (__caching__ is a classic example of that).

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /