Quote:
Originally Posted by meynaf
Yes but then it's CloseLibrary that's not guaranteed to be called. The leak is smaller but still there.
|
An extension gets informed on shutdown, a memory bank does not.
But yeah. Roll on AMOS 3 which isn't terrible in myriad ways? I dunno. The personal answer must be "stop using it" but it's convenient as a development environment.
Quote:
Trivial yes, but for what gain ?
BVS is one branch out of something like 2000.
|
I really don't know unless i see actual data, maybe some more common condition codes are also biased in different ways.
Quote:
You're counting 4 or 6 bytes while having a big 4-byte per entry jump table (the relocs making it even worse). It's like counting cents after having wasted whole dollars.
What about starting by using word size offsets instead ?
|
Well ok, but it's also not just about memory used by the code but about time wasted reading instructions to execute. And a word-read doesn't cost less than a longword-read on 68020+, so...
But anyway, supposing we had instruction that did this in 4 bytes:
Code:
add.w d16(An),An
jmp (An)
and it would be nice not to have to trash An while doing it.