Re: Questions from a Beginner.

new topic     » goto parent     » topic index » view thread      » older message » newer message
Critic said...
jimcbrown said...

As I recall, your claims to EU's copying problems were shown to be false.

Ask Matt Lewis then. The problem was that compiler-introduced temporaries did increment the reference count making copy-on-write more expensive. Matt confirmed this.

Implementing automatic cleanup via reference counting has exposed some issues that weren't obvious about how euphoria dealt with reference counting. In particular, references were sometimes held by temps until the end of the routine, which could cause COWs that weren't strictly necessary.

I've found at least one place where something wasn't getting de-referenced properly. And now (if you read my last post) we can see that we've (ok, it was probably me) introduced another leak where our reference counts are unbalanced.

Of course, the most important thing to remember is to not write FORTRAN in euphoria.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu