Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83f6009

Browse files
authored
Don't over optimize Türkçeleştirildi
Don't over optimize Türkçeleştirildi
1 parent 8e83e0f commit 83f6009

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -813,26 +813,23 @@ function kombin(deger1, deger2) {
813813
```
814814
**[⬆ en başa dön](#içindekiler)**
815815

816-
### Don't over-optimize
817-
Modern browsers do a lot of optimization under-the-hood at runtime. A lot of
818-
times, if you are optimizing then you are just wasting your time. [There are good
819-
resources](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers)
820-
for seeing where optimization is lacking. Target those in the meantime, until
821-
they are fixed if they can be.
816+
### Aşırı Optimizasyon Yapmayın
817+
Modern tarayıcılar çalışma anında arkaplanda çok fazla optimizasyon yaparlar.
818+
Çoğu zaman yaptığınız optimizasyon, boşa zaman harcamaktır. Optimzasyonun nerede eksik olduğunu görmek için [bu kaynaklar](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers) iyidir.
822819

823820
**Kötü:**
824821
```javascript
825822

826-
// On old browsers, each iteration with uncached `list.length` would be costly
827-
// because of `list.length` recomputation. In modern browsers, this is optimized.
828-
for (let i = 0, len = list.length; i < len; i++) {
823+
// Eski tarayıcılarda `list.length` için önbelleğe alınmamış her yineleme maliyetlidir.
824+
// Çünkü `list.length` her defasında yeniden sayılır. Modern tarayıcılarda bu optimize edilmiştir.
825+
for (let i = 0, len = liste.length; i < len; i++) {
829826
// ...
830827
}
831828
```
832829

833830
**İyi:**
834831
```javascript
835-
for (let i = 0; i < list.length; i++) {
832+
for (let i = 0; i < liste.length; i++) {
836833
// ...
837834
}
838835
```

0 commit comments

Comments
 (0)