[julia-users] Re: function hook into variable changes

2014-03-25 Thread Keith Mason
I definitely understand that. I would honestly prefer to be able to memory map directly to the disk file and let the OS do the writes behind the scenes. Less potential for performance penalties that way. But I haven't found a way in Julia to do that. mmap_array obviously only takes arrays a

[julia-users] Re: function hook into variable changes

2014-03-25 Thread Patrick O'Leary
On Tuesday, March 25, 2014 3:48:22 PM UTC-5, Keith Mason wrote: > > I have a number of variables based on composite types. I want the fields > of these variables synced to disk, so that every time I modify a field, the > data is written to disk. Is there any way to do this with assignment > nota

[julia-users] Re: function hook into variable changes

2014-03-25 Thread Patrick O'Leary
On Tuesday, March 25, 2014 3:48:22 PM UTC-5, Keith Mason wrote: > > The docs state that there is a setfield! function that is called for a.b = > c, but the language disagrees. Apparently it's actually named setfield (no > exclamation point). > The change to `setfield!()` was about a month ago: