Tags » Lazy Evaluation

Javascript: Lazy Evaluation

Melakukan operasi yang komplek terhadap sebuah array dapat menurunkan performa aplikasi. Mengapa? Hal ini terjadi karena setiap operasi akan menjalankan iterasi untuk memproses setiap elemen – elemen dalam array. 99 more words


Counting the infinite sequences

Doesn’t it strike you as odd, that you can write such code in C#:

if (sequence.Any()) ...

and it is efficient as it can be, but when you rely on… 168 more words


Converting NFA to DFA by Complete and Lazy Subset Construction


Given a transition table construct the NFA and using subset construction generate the DFA.


Task is to convert the NFA to DFA such that . 532 more words