View Single Post
Old 09 August 2016, 12:21   #35
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
Quote:
Originally Posted by meynaf View Post
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.

Last edited by Mrs Beanbag; 09 August 2016 at 12:28.
Mrs Beanbag is offline  
 
Page generated in 0.05697 seconds with 11 queries