If you have more than one reference to the same file from the image (e.g. the changes file), then the file size cache will prevent changes written by one reference to be noticed by another, so you have to reopen all other references to actualize their cached file size. I could only test the code on linux, but hopefully the MacOS/iOS and win32 implementations are correct too. You can view, comment on, or merge this pull request online at:https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/224 Commit Summary
File Changes
Patch Links:
— |
Hi @smalltalking, I'm just wondering why you haven't followed up on this PR? The linux builds failed because there is still a reference to setSize in When I tested the speed difference, not caching the size added about 2 Thanks, — |
In reply to this post by David T Lewis
Hi @akgrant43, I wrote these changes last October. There was a small discussion about them on the mailing list. — |
In reply to this post by David T Lewis
Thanks for the explanation and link to the email discussion. The remaining changes I have planned for FilePlugin will take quite a while (I need to learn about the simulator first). Can you update the PR and I'll merge it in? Thanks, — |
In reply to this post by David T Lewis
@smalltalking pushed 2 commits.
— |
In reply to this post by David T Lewis
Merged #224. — |
Free forum by Nabble | Edit this page |