4 ms·
The cost model can be very simple. Take the cost model of Java and apply it to programs where all fields are final. Maybe costs are higher than you'd like, but
by skew 15y ago
The cost model can be very simple. Take the cost model of Java and apply it to programs where all fields are final.
Maybe costs are higher than you'd like, but it's simple to understand.
Lazy evaluation seriously complicates the cost model, but few languages are lazy.